Skip to content

Commit

Permalink
after
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Sep 8, 2023
1 parent 80f5222 commit 334426a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PIL/TiffImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1203,8 +1203,6 @@ def load(self):
return super().load()

def load_end(self):
self.load()

# allow closing if we're on the first frame, there's no next
# This is the ImageFile.load path only, libtiff specific below.
if not self.is_animated:
Expand All @@ -1221,6 +1219,8 @@ def load_end(self):
continue
exif.get_ifd(key)

self.load()

def _load_libtiff(self):
"""Overload method triggered when we detect a compressed tiff
Calls out to libtiff"""
Expand Down

0 comments on commit 334426a

Please sign in to comment.