Skip to content

Commit

Permalink
rolls back sqlite3 autocommit to isolation_level=None for <3.12 compa…
Browse files Browse the repository at this point in the history
…tibility
  • Loading branch information
Neverbolt committed Dec 3, 2024
1 parent bef8e09 commit 663fd82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hackingBuddyGPT/utils/db_storage/db_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def init(self):
self.setup_db()

def connect(self):
self.db = sqlite3.connect(self.connection_string, autocommit=True)
self.db = sqlite3.connect(self.connection_string, isolation_level=None)
self.db.row_factory = sqlite3.Row
self.cursor = self.db.cursor()

Expand Down

0 comments on commit 663fd82

Please sign in to comment.