This commit is contained in:
spla 2020-12-05 16:31:26 +01:00
pare 6641fad072
commit 77851ded7d

Veure arxiu

@ -32,7 +32,14 @@ def unescape(s):
def create_panel(username, played_games, wins): def create_panel(username, played_games, wins):
if played_games > 0 and wins > 0:
ratio = round((wins * 100) / played_games, 2) ratio = round((wins * 100) / played_games, 2)
else:
ratio = 0
x = 10 x = 10
y = 10 y = 10