unused var

This commit is contained in:
homm 2015-07-31 17:43:36 +03:00
parent 430e9922eb
commit 1d236f0262

View File

@ -205,7 +205,7 @@ class ImageFile(Image.Image):
while True: while True:
try: try:
s = read(self.decodermaxblock) s = read(self.decodermaxblock)
except (IndexError, struct.error) as ie: # truncated png/gif except (IndexError, struct.error): # truncated png/gif
if LOAD_TRUNCATED_IMAGES: if LOAD_TRUNCATED_IMAGES:
break break
else: else: