Skip to content

Commit

Permalink
Added check_same_thread=False
Browse files Browse the repository at this point in the history
  • Loading branch information
satcfdi committed Aug 14, 2024
1 parent ad1d0d3 commit ea86c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion satcfdi/catalogs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
current_dir = os.path.dirname(__file__)

db_file = os.path.join(current_dir, "catalogs.db")
conn = sqlite3.connect(db_file)
conn = sqlite3.connect(db_file, check_same_thread=False)
c = conn.cursor()


Expand Down

0 comments on commit ea86c7f

Please sign in to comment.