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:
|
else:
|
||||||
try:
|
try:
|
||||||
dpi = img.info["dpi"]
|
dpi = img.info["dpi"]
|
||||||
except AttributeError, KeyError:
|
except (AttributeError, KeyError):
|
||||||
dpi = None
|
dpi = None
|
||||||
|
|
||||||
return dpi
|
return dpi
|
||||||
|
Loading…
Reference in New Issue
Block a user