This commit is contained in:
2025-12-14 18:48:06 +03:00
parent ccec507033
commit 1a51349eed
17 changed files with 1081 additions and 134 deletions
+3
View File
@@ -34,6 +34,9 @@ def saveImage(file_bytes: bytes, file_name: str) -> bool:
logger.debug(f"[ImageSave] Saving image to {target_path}")
img.save(target_path, "PNG")
if not os.path.isfile(target_path):
logger.error(f"[ImageSave] File {target_path} not found")
return False
return True
except Exception as e: