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