diff --git a/app.py b/app.py index 741e8cf..bfba34e 100644 --- a/app.py +++ b/app.py @@ -168,7 +168,7 @@ def get_image(): @app.route("/api/release_allocation", methods=['POST']) def release_allocation(): try: - id_allocation = db.get_conf_id_name(request.headers['name']) + id_allocation = db.get_conf_id_name(request.headers['name']+".squashfs") if id_allocation is None or id_allocation == "": return jsonify(message="400") except: