Fixed invalid argument warning

This commit is contained in:
Andrew Murray 2023-10-04 13:56:58 +11:00
parent 54aa8fa852
commit 29d23cfe07

View File

@ -3749,6 +3749,7 @@ class Exif(MutableMapping):
self.endian = self._info._endian
if offset is None:
offset = self._info.next
self.fp.tell()
self.fp.seek(offset)
self._info.load(self.fp)