Changed exception type to be more specific

This commit is contained in:
Andrew Murray 2021-04-15 20:55:45 +10:00
parent 9b6fe1b039
commit 7a4bf3df0f

View File

@ -141,7 +141,7 @@ def APP(self, marker):
# extract Adobe custom properties
try:
adobe_transform = s[1]
except Exception:
except IndexError:
pass
else:
self.info["adobe_transform"] = adobe_transform