Skip to content

Commit

Permalink
Merge pull request #7442 from radarhere/warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Oct 13, 2023
2 parents 8e5570e + 29d23cf commit ebefb5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PIL/Image.py
Original file line number Diff line number Diff line change
Expand Up @@ -3751,6 +3751,7 @@ def load_from_fp(self, fp, offset=None):
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)

Expand Down

0 comments on commit ebefb5f

Please sign in to comment.