From e42eb001a60a2a7c1ed347c5f8644413edb71aca Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Tue, 2 Jul 2024 15:59:06 -0700 Subject: [PATCH] Increment counter --- tools/check_gamefixes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/check_gamefixes.py b/tools/check_gamefixes.py index 21d49aec..b4397f38 100644 --- a/tools/check_gamefixes.py +++ b/tools/check_gamefixes.py @@ -144,13 +144,13 @@ def _batch_generator(gamefix: Path, size=50) -> set[str]: # Process only umu-* app ids for file in gamefix.glob("*"): appid = file.name.removeprefix("umu-").removesuffix(".py") - appids.add(appid) - if count == size: yield appids appids.clear() count = 0 + continue + count += 1 yield appids