This commit is contained in:
guimoz 2017-01-27 00:58:32 +01:00
parent a7cd8ceca4
commit afe659cf51

View file

@ -60,7 +60,7 @@ def init_db():
with closing(connect_sqlite()) as con_sqlite:
with app.open_resource('schema.sql') as f:
con_sqlite.cursor().executescript(f.read().decode("utf-8"))
con_sqlite.commit()
con_sqlite.commit()
# Connexion à la base SQLite locale
con_sqlite = connect_sqlite()