mirror of
https://github.com/janeczku/calibre-web
synced 2025-11-06 02:03:02 +00:00
Fixed Deleting user
This commit is contained in:
@@ -302,7 +302,6 @@ def setup_db():
|
||||
return False
|
||||
|
||||
dbpath = os.path.join(config.config_calibre_dir, "metadata.db")
|
||||
#engine = create_engine('sqlite:///{0}'.format(dbpath.encode('utf-8')), echo=False, isolation_level="SERIALIZABLE")
|
||||
engine = create_engine('sqlite:///'+ dbpath, echo=False, isolation_level="SERIALIZABLE")
|
||||
try:
|
||||
conn = engine.connect()
|
||||
|
||||
Reference in New Issue
Block a user