This commit is contained in:
Alex Clark 2013-06-30 15:21:37 -04:00
parent c6a95bf8f4
commit f56facb0c1

View File

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