Skip to content

Commit 2e6ab7c

Browse files
committed
Fix pickling webp
1 parent cdf3c98 commit 2e6ab7c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/PIL/WebPImagePlugin.py

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

3939
format = "WEBP"
4040
format_description = "WebP image"
41+
__loaded = -1
42+
__logical_frame = -1
4143

4244
def _open(self):
4345
if not _webp.HAVE_WEBPANIM:

0 commit comments

Comments
 (0)