Fix check for games played

This commit is contained in:
Jannes Höke 2021-11-17 12:33:46 +01:00 committed by GitHub
parent 2cb72d45f9
commit ea26cbe4c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ def stats(bot, update):
)
n = us.first_places
m = round((us.first_places / us.games_played) * 100) if games_played else 0
m = round((us.first_places / us.games_played) * 100) if us.games_played else 0
stats_text.append(
_("{number} first place ({percent}%)",
"{number} first places ({percent}%)",