Tune editor
This commit is contained in:
@@ -8,11 +8,10 @@ from .write import insert_tema
|
||||
|
||||
def create_db(con: Optional[Connection] = None):
|
||||
with get_connection(con) as con:
|
||||
drop_temes_table(con)
|
||||
create_temes_table(con)
|
||||
|
||||
for tema in data.TEMES:
|
||||
insert_tema(tema, con)
|
||||
# for tema in data.TEMES:
|
||||
# insert_tema(tema, con)
|
||||
|
||||
|
||||
def drop_temes_table(con: Connection):
|
||||
|
||||
Reference in New Issue
Block a user