From 71e90399847a7a3a6d20ed8f0dc11a0966fe9b58 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Mon, 13 Oct 2014 20:11:31 +0200 Subject: [PATCH] Unicode fix --- basile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basile.py b/basile.py index 123a94c..b6dd64a 100755 --- a/basile.py +++ b/basile.py @@ -725,7 +725,7 @@ class Basile(ircbot.SingleServerIRCBot): victime = ev.arguments()[0] raison = ev.arguments()[1] if victime == self.nick: - log(self.serveur, u"%s kické de %s par %s (raison : %s)" % (victime, channel.decode("utf-8"), auteur, raison)) + log(self.serveur, ("%s kické de %s par %s (raison : %s)" % (victime, channel, auteur, raison)).decode("utf-8")) time.sleep(2) serv.join(channel) l1, l2 = config.kick_answers, config.kick_actions -- 2.39.2