1
0
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:
OzzieIsaacs
2017-05-25 09:09:35 +02:00
parent 7ab8a5877b
commit 0a08a07193
2 changed files with 2 additions and 2 deletions

View File

@@ -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()