Update simple_commands.py

Co-authored-by: Jannes Höke <mail@jhoeke.de>
This commit is contained in:
Iuri Guilherme 2021-11-14 13:06:30 -03:00 committed by GitHub
parent 550870ee26
commit 1015bcf837
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,7 +126,7 @@ def stats(bot, update):
)
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(
_("{number} first place ({percent}%)",
"{number} first places ({percent}%)",