Correctly close database at the end

This commit is contained in:
Marty Oehme 2021-08-27 23:33:21 +02:00
parent a9ac2f27c2
commit d33c6a232e
Signed by: Marty
GPG Key ID: B7538B8F50A1C800
1 changed files with 1 additions and 0 deletions

View File

@ -7,3 +7,4 @@ def migrate(trackers, events):
if trackers is not None:
habit_migrator.create_habits(db, trackers)
db.commit()
db.close()