fix: evaluate str type

This commit is contained in:
aclist committed 2026-02-12 19:09:42 +09:00
1 parent 38883626f5
commit e1d84ec7be
10 files changed
+23 -27

No files matched your search

+3 -3
View File
@@ -61,10 +61,10 @@ def format_player_count(model: Gtk.TreeModel | None, control: list) -> str:
hits = len(model)
for row in model:
players += row[4]
players_pretty = pluralize("players", players)
hits_pretty = pluralize("matches", hits)
control_total = len(control)
status = f"Showing {hits:n}/{control_total:n} {hits_pretty} with {players:n} {players_pretty}"
players_pretty = pluralize("players", players)
control_pretty = pluralize("matches", control_total)
status = f"Showing {hits:n}/{control_total:n} {control_pretty} with {players:n} {players_pretty}"
return status