mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-06 06:03:14 +03:00
Do not load image more than once
This commit is contained in:
parent
58e48745cc
commit
7a48a9fae0
|
@ -179,6 +179,7 @@ class IptcImageFile(ImageFile.ImageFile):
|
|||
with Image.open(o) as _im:
|
||||
_im.load()
|
||||
self.im = _im.im
|
||||
self.tile = []
|
||||
return None
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user