From d306d2009cc375a33430944978853a02e4ff5128 Mon Sep 17 00:00:00 2001 From: FangFuxin <38530078+lajiyuan@users.noreply.github.com> Date: Tue, 16 Jan 2024 15:29:31 +0800 Subject: [PATCH] Update src/PIL/PngImagePlugin.py Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> --- src/PIL/PngImagePlugin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/PIL/PngImagePlugin.py b/src/PIL/PngImagePlugin.py index f51773a348e..1248fb78529 100644 --- a/src/PIL/PngImagePlugin.py +++ b/src/PIL/PngImagePlugin.py @@ -985,7 +985,6 @@ def load_end(self): ImageFile._safe_read(self.fp, length) except OSError as e: if ImageFile.LOAD_TRUNCATED_IMAGES: - logger.debug("%r %s %s (Truncated File Read)", cid, pos, length) break else: raise e