diff --git a/PIL/Image.py b/PIL/Image.py index db66c6f84..441c7bbc1 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -58,7 +58,7 @@ try: raise ImportError("The _imaging extension was built for another " " version of Pillow or PIL. Most PIL functions " " will be disabled ") - + except ImportError as v: core = _imaging_not_installed() if str(v)[:20] == "Module use of python" and warnings: