Commit 21d1e839 authored by Aflitos, Saulo Alves's avatar Aflitos, Saulo Alves
Browse files

fixed global variable DATABASES_MTIME

parent a5ed51aa
......@@ -873,7 +873,7 @@ def get_mtime(db_name):
if db_name not in app.config["DATABASEINV"]:
abort(404)
return jsonify( { 'mtime': app.config["DATABASES"][ app.config["DATABASEINV"][db_name] ][ app.config["DATABASES_MTIME"] ] } )
return jsonify( { 'mtime': app.config["DATABASES"][ app.config["DATABASEINV"][db_name] ][ DATABASES_MTIME ] } )
@app.route("/api/maxnumcol", methods=['GET'])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment