diff --git a/roulette.py b/roulette.py index 5da995a..0bcb005 100644 --- a/roulette.py +++ b/roulette.py @@ -305,7 +305,7 @@ def banned(): else: explanation = u'Tu t\'es tranché toi-même, pas de chance...' - timeleft = duration_format(int(player['ban_end'] - time())) + timeleft = int(player['ban_end'] - time()) return render_template('banned.html', \ explanation=explanation, timeleft=timeleft) diff --git a/templates/banned.html b/templates/banned.html index 56a8e43..d893915 100644 --- a/templates/banned.html +++ b/templates/banned.html @@ -15,23 +15,6 @@