Merge remote-tracking branch 'fix/kobo' into Develop
# Conflicts: # cps/db.py # cps/web.py
This commit is contained in:
commit
2798dd5916
@ -810,9 +810,7 @@ def get_tasks_status():
|
|||||||
|
|
||||||
@app.route("/reconnect")
|
@app.route("/reconnect")
|
||||||
def reconnect():
|
def reconnect():
|
||||||
db.session.close()
|
db.reconnect_db(config)
|
||||||
db.engine.dispose()
|
|
||||||
db.setup_db(config)
|
|
||||||
return json.dumps({})
|
return json.dumps({})
|
||||||
|
|
||||||
@web.route("/search", methods=["GET"])
|
@web.route("/search", methods=["GET"])
|
||||||
|
Loading…
Reference in New Issue
Block a user