From a3c669c817c4ea0d3a2b1d52f2ec1c664331b628 Mon Sep 17 00:00:00 2001
From: guimoz
Date: Sun, 29 Jan 2017 18:53:32 +0100
Subject: [PATCH] =?UTF-8?q?Correction=20du=20d=C3=A9compte?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
roulette.py | 2 +-
templates/banned.html | 17 -----------------
2 files changed, 1 insertion(+), 18 deletions(-)
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 @@