From 400cc614848edb28752023ff4ca3922fcb7062e9 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Tue, 15 May 2012 23:42:02 +0200 Subject: [PATCH] Encore un foirage d'encodage =p --- basile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basile.py b/basile.py index 10433cc..aaa2dd9 100755 --- a/basile.py +++ b/basile.py @@ -758,7 +758,7 @@ class Basile(ircbot.SingleServerIRCBot): n1,n2=len(l1),len(l2) i=random.randrange(n1+n2) if i>=n1: - serv.action(canal,l2[i-n1]) + serv.action(canal,l2[i-n1].encode("utf8")) else: serv.privmsg(canal,"%s: %s"%(auteur,l1[i].encode("utf8"))) if is_tamere(message) and not canal in self.quiet_channels: -- 2.39.2