Update aperisolve/app.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Aradhya C P
2025-12-30 13:00:12 +05:30
committed by GitHub
co-authored by Copilot
parent a0c616bc78
commit 9f21ac429d
+1 -1
View File
@@ -134,7 +134,7 @@ def upload_image() -> tuple[Response, int]:
if sub_img is None:
if not new_img_path.parent.exists() or not new_img_path.exists():
new_img_path.parent.mkdir(parents=True, exist_ok=True)
with open(new_img_path,"wb") as f:
with open(new_img_path, "wb") as f:
f.write(image_data)