Skip to content

Commit 7a48a9f

Browse files
committed
Do not load image more than once
1 parent 58e4874 commit 7a48a9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PIL/IptcImagePlugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ def load(self) -> Image.core.PixelAccess | None:
179179
with Image.open(o) as _im:
180180
_im.load()
181181
self.im = _im.im
182+
self.tile = []
182183
return None
183184

184185

0 commit comments

Comments
 (0)