Skip to content

Commit 986c55f

Browse files
committed
Initialise __loaded = 0, removed initialisation of __physical_frame
1 parent 94751da commit 986c55f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/PIL/WebPImagePlugin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ class WebPImageFile(ImageFile.ImageFile):
3838

3939
format = "WEBP"
4040
format_description = "WebP image"
41-
__loaded = -1
41+
__loaded = 0
4242
__logical_frame = 0
43-
__physical_frame = 0
4443

4544
def _open(self):
4645
if not _webp.HAVE_WEBPANIM:

0 commit comments

Comments
 (0)