From ca85b0da241b88bd239bdbe7e8317e7a1f4ceebc Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 1 Apr 2020 22:17:39 +0300 Subject: [PATCH] Initialise __frame = 0 --- src/PIL/PngImagePlugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PIL/PngImagePlugin.py b/src/PIL/PngImagePlugin.py index 81a9e36af..2c51caf47 100644 --- a/src/PIL/PngImagePlugin.py +++ b/src/PIL/PngImagePlugin.py @@ -630,6 +630,7 @@ class PngImageFile(ImageFile.ImageFile): format = "PNG" format_description = "Portable network graphics" + __frame = 0 def _open(self):