From 1015bcf83744cfbdebbf75a873338687165177af Mon Sep 17 00:00:00 2001 From: Iuri Guilherme <2027447+iuriguilherme@users.noreply.github.com> Date: Sun, 14 Nov 2021 13:06:30 -0300 Subject: [PATCH] Update simple_commands.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jannes Höke --- simple_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple_commands.py b/simple_commands.py index f7ef7f3..7569584 100644 --- a/simple_commands.py +++ b/simple_commands.py @@ -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}%)",