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)