mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Initialise __loaded = 0, removed initialisation of __physical_frame
This commit is contained in:
parent
94751da23e
commit
986c55ff64
|
@ -38,9 +38,8 @@ class WebPImageFile(ImageFile.ImageFile):
|
|||
|
||||
format = "WEBP"
|
||||
format_description = "WebP image"
|
||||
__loaded = -1
|
||||
__loaded = 0
|
||||
__logical_frame = 0
|
||||
__physical_frame = 0
|
||||
|
||||
def _open(self):
|
||||
if not _webp.HAVE_WEBPANIM:
|
||||
|
|
Loading…
Reference in New Issue
Block a user