From 1efa03da97cc64a55777074cb801fb4e7c4ea484 Mon Sep 17 00:00:00 2001 From: gor_down Date: Fri, 21 Feb 2025 20:41:18 -0300 Subject: [PATCH] webp fix --- images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images.py b/images.py index c1f0796..7d5a134 100644 --- a/images.py +++ b/images.py @@ -75,7 +75,7 @@ def load_webp(file): img.load() # strange thing with Pillow and animated webp's is that the img.info dictionary attr doesn't update unless you call a function like this frames.append([img.toqimage(), img.info["duration"]]) - return frames, img.info["loop"] + return frames def get_apng_duration(file): img = APNG.open(file)