From a127a3d3d90771f67b0d399014a1b9733cc9baef Mon Sep 17 00:00:00 2001 From: Historien le bot IRC Date: Sat, 26 May 2012 14:40:29 +0200 Subject: [PATCH] =?utf8?q?On=20enl=C3=A8ve=20les=20messages=20de=20d=C3=A9?= =?utf8?q?bug=20de=20comparaisons=20de=20answer/message?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- historien.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/historien.py b/historien.py index 322d1ce..ff803e9 100755 --- a/historien.py +++ b/historien.py @@ -88,12 +88,10 @@ def reussi(message,answer,auteur): else: try: date=cast_as_date(message.lower().strip()) - print tuple(date) except ThisIsNotADate: return False realdate=map(lambda x:int(x), answer.split('/')) realdate.reverse() - print date,"#?#",realdate score=0 if date[0]==realdate[0]: score=config_score_annee -- 2.39.2