Skip to content

Commit

Permalink
Increment counter
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jul 2, 2024
1 parent fd17bf7 commit e42eb00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/check_gamefixes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e42eb00

Please sign in to comment.