Update simple_commands.py
Co-authored-by: Jannes Höke <mail@jhoeke.de>
This commit is contained in:
parent
550870ee26
commit
1015bcf837
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ def stats(bot, update):
|
||||||
)
|
)
|
||||||
|
|
||||||
n = us.first_places
|
n = us.first_places
|
||||||
m = int((us.games_played / us.first_places) * 100) if us.first_places else 0
|
m = round((us.games_played / us.first_places) * 100) if us.first_places else 0
|
||||||
stats_text.append(
|
stats_text.append(
|
||||||
_("{number} first place ({percent}%)",
|
_("{number} first place ({percent}%)",
|
||||||
"{number} first places ({percent}%)",
|
"{number} first places ({percent}%)",
|
||||||
|
|
Loading…
Reference in a new issue