From 6480d57c1facd489cd5fa2b5a329710e73be67bf Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 24 Dec 2019 08:33:04 +1100 Subject: [PATCH] Removed duplicate line --- src/PIL/PngImagePlugin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/PIL/PngImagePlugin.py b/src/PIL/PngImagePlugin.py index 9f98cd3d7..ee1400d67 100644 --- a/src/PIL/PngImagePlugin.py +++ b/src/PIL/PngImagePlugin.py @@ -882,7 +882,6 @@ def _save(im, fp, filename, chunk=putchunk): b"\x01", ) - info = im.encoderinfo.get("pnginfo") if info: chunks = [b"bKGD", b"hIST"] for cid, data in info.chunks: