Skip to content

Commit

Permalink
Update src/PIL/PngImagePlugin.py
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
  • Loading branch information
lajiyuan and radarhere committed Jan 16, 2024
1 parent 36c94f9 commit d306d20
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/PIL/PngImagePlugin.py
Expand Up @@ -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
Expand Down

0 comments on commit d306d20

Please sign in to comment.