Skip to content

Commit

Permalink
Update hockeydatabase.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski authored Nov 30, 2023
1 parent 740eb26 commit 868f44e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libhockeydata/hockeydatabase.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def CreateHockeyDatabase(sdbfile, synchronous=sqlite_synchronous, journal_mode=s
sqlcon = apsw.Connection(sdbfile);
elif(enable_apsw and enable_supersqlite):
sqlcon = supersqlite.SuperSQLiteConnection(sdbfile);
elif(enable_sqlcipher and usecipher):
elif(enable_sqlcipher):
sqlcon = sqlite.connect(sdbfile, isolation_level=None);
usecipher = True;
else:
Expand Down Expand Up @@ -479,7 +479,7 @@ def OpenHockeyDatabase(sdbfile, synchronous=sqlite_synchronous, journal_mode=sql
sqlcon = apsw.Connection(sdbfile);
elif(enable_apsw and enable_supersqlite):
sqlcon = supersqlite.SuperSQLiteConnection(sdbfile);
elif(enable_sqlcipher and usecipher):
elif(enable_sqlcipher):
sqlcon = sqlite.connect(sdbfile, isolation_level=None);
usecipher = True;
else:
Expand Down

0 comments on commit 868f44e

Please sign in to comment.