Skip to content

Commit 6a3bde0

Browse files
committed
Do not set core to DeferredError
1 parent 34c651d commit 6a3bde0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/PIL/Image.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ class DecompressionBombError(Exception):
103103
raise ImportError(msg)
104104

105105
except ImportError as v:
106-
core = DeferredError.new(ImportError("The _imaging C module is not installed."))
107106
# Explanations for ways that we know we might have an import error
108107
if str(v).startswith("Module use of python"):
109108
# The _imaging C module is present, but not compiled for

0 commit comments

Comments
 (0)