Fix linux permissions

This commit is contained in:
linoe97
2022-06-27 09:32:11 +02:00
committed by DomySh
parent 8eb077efa2
commit 236c3ad255
5 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class SQLite():
try:
self.conn = sqlite3.connect("db/" + self.db_name + '.db', check_same_thread = False)
except Exception:
with open(self.db_name + '.db', 'x') as f:
with open("db/" + self.db_name + '.db', 'x') as f:
pass
self.conn = sqlite3.connect("db/" + self.db_name + '.db', check_same_thread = False)