diff --git a/src/PIL/ImageFile.py b/src/PIL/ImageFile.py index a1d98bd5103..4bac877949a 100644 --- a/src/PIL/ImageFile.py +++ b/src/PIL/ImageFile.py @@ -61,7 +61,7 @@ SAFEBLOCK = 1024 * 1024 -LOAD_TRUNCATED_IMAGES = False +LOAD_TRUNCATED_IMAGES: bool = False """Whether or not to load truncated image files. User code may change this.""" ERRORS = {