This commit is contained in:
@@ -54,7 +54,7 @@ def init_db():
|
||||
except sqlite3.OperationalError as e:
|
||||
print(f"Error initializing database: {e}")
|
||||
# Fallback to using a local database file if the mounted volume has permission issues
|
||||
db_path = 'cache.db'
|
||||
db_path = './db/cache.db'
|
||||
print(f"Falling back to local database file: {db_path}")
|
||||
conn = sqlite3.connect(db_path)
|
||||
cursor = conn.cursor()
|
||||
|
||||
Reference in New Issue
Block a user