mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-05-30 10:43:16 +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):
|
def _get_ifd_dict(self, fp, head, tag):
|
||||||
try:
|
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.
|
# It should be a long, but may be corrupted.
|
||||||
fp.seek(self._data[tag])
|
fp.seek(self._data[tag])
|
||||||
except (KeyError, TypeError):
|
except (KeyError, TypeError):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user