Update utils/utils.py
Browse files- utils/utils.py +1 -1
utils/utils.py
CHANGED
|
@@ -938,7 +938,7 @@ def get_image_info(image_path: Union[str, Path]) -> Dict[str, Any]:
|
|
| 938 |
|
| 939 |
except Exception as e:
|
| 940 |
logger.error(f"Error getting image info for {image_path}: {e}")
|
| 941 |
-
return {"exists": False, "error": str(e)}
|
| 942 |
|
| 943 |
@staticmethod
|
| 944 |
def save_image(image: Image.Image,
|
|
|
|
| 938 |
|
| 939 |
except Exception as e:
|
| 940 |
logger.error(f"Error getting image info for {image_path}: {e}")
|
| 941 |
+
return {"exists": False, "error": str(e)}
|
| 942 |
|
| 943 |
@staticmethod
|
| 944 |
def save_image(image: Image.Image,
|