Fix #1473 (reconnect not working via web-route access)

This commit is contained in:
Ozzieisaacs 2020-06-07 14:11:41 +02:00
parent ded3e06a9b
commit fdf10e3d2e

View File

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