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

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()