mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-10 00:20:57 +03:00
Changed exception type to be more specific
This commit is contained in:
parent
9b6fe1b039
commit
7a4bf3df0f
|
@ -141,7 +141,7 @@ def APP(self, marker):
|
||||||
# extract Adobe custom properties
|
# extract Adobe custom properties
|
||||||
try:
|
try:
|
||||||
adobe_transform = s[1]
|
adobe_transform = s[1]
|
||||||
except Exception:
|
except IndexError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
self.info["adobe_transform"] = adobe_transform
|
self.info["adobe_transform"] = adobe_transform
|
||||||
|
|
Loading…
Reference in New Issue
Block a user