From 1560b0657da1c344ea9cebb712614a4277137382 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Fri, 17 Feb 2012 14:19:44 +0000 Subject: [PATCH] 4774: Bug fix for r17451 svn: r18911 --- src/ImgManip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImgManip.py b/src/ImgManip.py index 95d737815..0852bc184 100644 --- a/src/ImgManip.py +++ b/src/ImgManip.py @@ -118,7 +118,7 @@ def image_dpi(source): else: try: dpi = img.info["dpi"] - except AttributeError, KeyError: + except (AttributeError, KeyError): dpi = None return dpi