From 7ec9b6a3660cfea6913456bb3ab8a12b01174a0c Mon Sep 17 00:00:00 2001 From: ptfmiller Date: Mon, 25 Jul 2016 10:34:31 -0400 Subject: [PATCH] Catch import error for ImageMath Extend the catching that already exists for Image --- pds/imageextractor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pds/imageextractor.py b/pds/imageextractor.py index 42af893..c937874 100644 --- a/pds/imageextractor.py +++ b/pds/imageextractor.py @@ -17,10 +17,11 @@ try: import Image + import ImageMath except ImportError: from PIL import Image + from PIL import ImageMath -import ImageMath from core.common import open_pds from core.parser import Parser