Apply suggestions from code review

Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Hugo 2019-02-03 22:43:20 +11:00 committed by Andrew Murray
parent 3caec4344e
commit 9cbc4b1e3c

View File

@ -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):