We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfe8346 commit 4a1f712Copy full SHA for 4a1f712
1 file changed
docker/cas/src/metadb.py
@@ -94,6 +94,9 @@ def _handle_gps_info(lines, gps_info):
94
def _handle_exif(lines, image, metapath):
95
"""Process EXIF data from an image and append to metadata lines."""
96
try:
97
+ if not hasattr(image, '_getexif'):
98
+ return
99
+
100
exif_data = image._getexif()
101
if not exif_data:
102
return
0 commit comments