4774: Bug fix for r17451

svn: r18911
This commit is contained in:
Nick Hall 2012-02-17 14:19:44 +00:00
parent 268369ac1f
commit 1560b0657d

View File

@ -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