Fix UnboundLocalError in ImageFile

This commit is contained in:
George Davaris 2015-03-11 15:37:02 +00:00
parent 6272f36653
commit 5a49375d4f

View File

@ -202,6 +202,7 @@ class ImageFile(Image.Image):
try:
d.setimage(self.im, e)
except ValueError:
t = None
continue
b = prefix
t = len(b)