mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
Apply suggestions from code review
Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
3caec4344e
commit
9cbc4b1e3c
|
@ -707,7 +707,7 @@ class Exif(MutableMapping):
|
|||
|
||||
def _get_ifd_dict(self, fp, head, tag):
|
||||
try:
|
||||
# an offset pointer to the location of the nested embedded ifd.
|
||||
# an offset pointer to the location of the nested embedded IFD.
|
||||
# It should be a long, but may be corrupted.
|
||||
fp.seek(self._data[tag])
|
||||
except (KeyError, TypeError):
|
||||
|
|
Loading…
Reference in New Issue
Block a user