mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 13:14:27 +03:00
Extend the fix to the other exif seek
This commit is contained in:
parent
3a25b1cd9b
commit
c614846fb7
|
@ -433,7 +433,7 @@ def _getexif(self):
|
|||
# get gpsinfo extension
|
||||
try:
|
||||
file.seek(exif[0x8825])
|
||||
except KeyError:
|
||||
except (KeyError, TypeError):
|
||||
pass
|
||||
else:
|
||||
info = TiffImagePlugin.ImageFileDirectory(head)
|
||||
|
|
Loading…
Reference in New Issue
Block a user