Skip to content

Commit ea86c7f

Browse files
committed
Added check_same_thread=False
1 parent ad1d0d3 commit ea86c7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

satcfdi/catalogs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
current_dir = os.path.dirname(__file__)
88

99
db_file = os.path.join(current_dir, "catalogs.db")
10-
conn = sqlite3.connect(db_file)
10+
conn = sqlite3.connect(db_file, check_same_thread=False)
1111
c = conn.cursor()
1212

1313

0 commit comments

Comments
 (0)