From 683b9ed47d1e28c387822a17cc14edbb681361bc Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Thu, 10 May 2012 19:50:17 +0200 Subject: [PATCH] =?utf8?q?Connerie=20d'utf8=20oubli=C3=A9=20dans=20on=5Fac?= =?utf8?q?tion?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- basile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basile.py b/basile.py index c5234a1..1e985a0 100755 --- a/basile.py +++ b/basile.py @@ -831,7 +831,7 @@ class Basile(ircbot.SingleServerIRCBot): n1,n2=len(l1),len(l2) i=random.randrange(n1+n2) if i>=n1: - serv.action(channel,l2[i-n1]) + serv.action(channel,l2[i-n1].encode("utf8")) else: serv.privmsg(channel,"%s: %s"%(auteur,l1[i].encode("utf8"))) -- 2.39.2