mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-24 14:14:47 +03:00
commit
a780a51f9e
|
@ -775,7 +775,9 @@ class ImageFileDirectory_v2(MutableMapping):
|
|||
fp.seek(offset)
|
||||
except OverflowError as e:
|
||||
if DEBUG:
|
||||
print("- offset value wrong. Possibly corrupt EXIF data. ", e)
|
||||
print(
|
||||
"- offset value wrong. Possibly corrupt EXIF data. ", e
|
||||
)
|
||||
continue # ignore corrupt EXIF data
|
||||
data = ImageFile._safe_read(fp, size)
|
||||
fp.seek(here)
|
||||
|
|
Loading…
Reference in New Issue
Block a user