From 386e68a422151b47d7bef8087acc3606d50de277 Mon Sep 17 00:00:00 2001 From: Jaret Burkett Date: Sat, 8 Mar 2025 18:02:56 -0700 Subject: [PATCH] Fixed a bug that changes all samples to webp --- toolkit/config_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/config_modules.py b/toolkit/config_modules.py index 72c731e2..fcff3b3f 100644 --- a/toolkit/config_modules.py +++ b/toolkit/config_modules.py @@ -59,7 +59,7 @@ class SampleConfig: self.extra_values = kwargs.get('extra_values', []) self.num_frames = kwargs.get('num_frames', 1) self.fps: int = kwargs.get('fps', 16) - if self.num_frames > 0 and self.ext not in ['webp']: + if self.num_frames > 1 and self.ext not in ['webp']: print("Changing sample extention to animated webp") self.ext = 'webp'