mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
Fix UnboundLocalError in ImageFile
This commit is contained in:
parent
6272f36653
commit
5a49375d4f
|
@ -202,6 +202,7 @@ class ImageFile(Image.Image):
|
|||
try:
|
||||
d.setimage(self.im, e)
|
||||
except ValueError:
|
||||
t = None
|
||||
continue
|
||||
b = prefix
|
||||
t = len(b)
|
||||
|
|
Loading…
Reference in New Issue
Block a user