From e2285cee0881ae768adcbc9d51aa5da60293c143 Mon Sep 17 00:00:00 2001 From: Mateusz779 Date: Wed, 19 Apr 2023 10:17:13 +0200 Subject: [PATCH] - --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: