rm test
This commit is contained in:
parent
23fb1e836c
commit
b77211a484
4
app.py
4
app.py
|
@ -39,10 +39,6 @@ def gen_group_pic():
|
||||||
pid = data['pid']
|
pid = data['pid']
|
||||||
base_image = base64.b64decode(data['base_image'])
|
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:
|
if not coordinates_list or not canvas_size or not base_image or not pid:
|
||||||
return jsonify({"status": "error", "message": "Missing data"}), 422
|
return jsonify({"status": "error", "message": "Missing data"}), 422
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue