Skip to content

Commit 9f5d1f7

Browse files
authored
Do not set core to DeferredError (#9166)
2 parents 34c651d + 6a3bde0 commit 9f5d1f7

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)