From 354e0590b24ff589548649814b6b049f06991418 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Sun, 25 May 2014 02:14:38 +0200 Subject: [PATCH 1/1] Encore de l'unicode --- basile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basile.py b/basile.py index a21e792..d172dbe 100755 --- a/basile.py +++ b/basile.py @@ -304,7 +304,7 @@ class Basile(ircbot.SingleServerIRCBot): if auteur in self.ops: if len(message) > 1: if message[1] in self.chanlist: - serv.privmsg(auteur, "Je suis déjà sur %s" % (message[1])) + serv.privmsg(auteur, (u"Je suis déjà sur %s" % (message[1])).encode("utf-8")) else: serv.join(message[1]) self.chanlist.append(message[1]) -- 2.39.2