From b77211a48497e83492dac7b28e30e53a167ec5fa Mon Sep 17 00:00:00 2001 From: zaqxs123456 <18200842@life.hkbu.edu.hk> Date: Mon, 14 Oct 2024 15:56:41 +0800 Subject: [PATCH] rm test --- app.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app.py b/app.py index 18c98b6..3d25d54 100644 --- a/app.py +++ b/app.py @@ -39,10 +39,6 @@ def gen_group_pic(): pid = data['pid'] base_image = base64.b64decode(data['base_image']) - # save base image to ./test.png - with open("test.png", "wb") as f: - f.write(base_image) - if not coordinates_list or not canvas_size or not base_image or not pid: return jsonify({"status": "error", "message": "Missing data"}), 422