From: Vincent Le Gallic Date: Fri, 25 May 2012 00:03:53 +0000 (+0200) Subject: Encore et toujours l'utf8 X-Git-Url: http://gitweb.pimeys.fr/?p=bots%2Fhung.git;a=commitdiff_plain;h=1ca0567ce7a2196057b4daf98424e25dc27a333a Encore et toujours l'utf8 --- 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)