mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-01 05:49:58 +00:00
Fix #1473 (reconnect not working via web-route access)
This commit is contained in:
parent
ded3e06a9b
commit
fdf10e3d2e
@ -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({})
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user