mirror of
https://github.com/janeczku/calibre-web
synced 2025-11-11 12:53:04 +00:00
Fix #1473 (reconnect not working via web-route access)
This commit is contained in:
@@ -986,7 +986,7 @@ def get_tasks_status():
|
|||||||
|
|
||||||
@app.route("/reconnect")
|
@app.route("/reconnect")
|
||||||
def reconnect():
|
def reconnect():
|
||||||
db.reconnect_db(config, ub.app_DB_path)
|
calibre_db.reconnect_db(config, ub.app_DB_path)
|
||||||
return json.dumps({})
|
return json.dumps({})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user