Correctly close database at the end
This commit is contained in:
parent
a9ac2f27c2
commit
d33c6a232e
1 changed files with 1 additions and 0 deletions
|
@ -7,3 +7,4 @@ def migrate(trackers, events):
|
||||||
if trackers is not None:
|
if trackers is not None:
|
||||||
habit_migrator.create_habits(db, trackers)
|
habit_migrator.create_habits(db, trackers)
|
||||||
db.commit()
|
db.commit()
|
||||||
|
db.close()
|
||||||
|
|
Loading…
Reference in a new issue