4774: Bug fix for r17451
svn: r18911
This commit is contained in:
parent
268369ac1f
commit
1560b0657d
@ -118,7 +118,7 @@ def image_dpi(source):
|
||||
else:
|
||||
try:
|
||||
dpi = img.info["dpi"]
|
||||
except AttributeError, KeyError:
|
||||
except (AttributeError, KeyError):
|
||||
dpi = None
|
||||
|
||||
return dpi
|
||||
|
Loading…
Reference in New Issue
Block a user