mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-14 05:53:47 -06:00
fix: write every platform count in the summary
A platform with one entry had no number, so the named counts did not add up to the total (finding 81).
This commit is contained in:
1 parent
d38cd58036
commit
6e77da4b82
3 files changed
+15
-4
No files matched your search
+1
-2
@@ -2961,8 +2961,7 @@ def _overall_summary(group_results: list[tuple[dict, list[str]]]) -> str:
|
||||
platforms = sum(len(group) for _, group in group_results)
|
||||
|
||||
def where(counts: dict[str, int]) -> str:
|
||||
named = [f"{name} {count}" if count > 1 else name
|
||||
for name, count in counts.items() if count]
|
||||
named = [f"{name} {count}" for name, count in counts.items() if count]
|
||||
return f" ({', '.join(named)})" if named else ""
|
||||
|
||||
parts = []
|
||||
|
||||
Reference in new issue
Block a user