Removed unused exception "as" variable.

This commit is contained in:
Tim Graham 2015-04-08 13:09:51 -04:00
parent 6d7784a7b9
commit 0824c02603
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def get_image_dimensions(file_or_path, close=False):
pass
else:
raise
except struct.error as e:
except struct.error:
# Ignore PIL failing on a too short buffer when reads return
# less bytes than expected. Skip and feed more data to the
# parser (ticket #24544).