From 1ca0567ce7a2196057b4daf98424e25dc27a333a Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Fri, 25 May 2012 02:03:53 +0200 Subject: [PATCH] Encore et toujours l'utf8 --- hung.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hung.py b/hung.py index 99aa68a..6746f64 100755 --- a/hung.py +++ b/hung.py @@ -437,7 +437,7 @@ class Hung(ircbot.SingleServerIRCBot): def mourir(self): quit_message=random.choice(config_quit_messages) - self.die(msg=quit_message) + self.die(msg=quit_message.encode("utf8")) def get_scores(self): f=open(config_scores_file) -- 2.39.2