From d4759a5b6be6919bab56eb2d980a9010fbb883eb Mon Sep 17 00:00:00 2001 From: Hung IRC Bot Date: Fri, 14 Jun 2013 17:40:34 +0200 Subject: [PATCH] =?utf8?q?On=20peut=20mettre=20autre=20chose=20apr=C3=A8s?= =?utf8?q?=20une=20proposition=20de=20mot?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- hung.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hung.py b/hung.py index 7b84818..d91e4e0 100755 --- a/hung.py +++ b/hung.py @@ -75,7 +75,7 @@ def is_mot(mot,liste): real_word = "".join([lettre[0] for lettre in liste]) real_word = real_word.decode("utf8").lower() mot=remplace_accents(mot.decode("utf8")) - return mot==real_word + return mot.startswith(real_word) class Hung(ircbot.SingleServerIRCBot): def __init__(self,serveur,debug=False): -- 2.39.2