Skip to content

Commit

Permalink
Need to close the db connection after merging entries. (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmctune authored Oct 8, 2023
1 parent 6c9f97c commit 6ed1a96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/common/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ def merge_local_db():
except sqlite3.Error as e:
log.exception(f"Unable to write data to table.")

conn.close()
log.success(f"Records inserted: {str(records_inserted)} :: Records updated: {str(records_updated)}")


Expand Down

0 comments on commit 6ed1a96

Please sign in to comment.