]> gitweb.pimeys.fr Git - bots/basile.git/commitdiff
Encore et toujours l'utf8
authorVincent Le Gallic <legallic@crans.org>
Fri, 25 May 2012 00:03:14 +0000 (02:03 +0200)
committerVincent Le Gallic <legallic@crans.org>
Fri, 25 May 2012 00:03:14 +0000 (02:03 +0200)
basile.py

index 35733e924e9186d0ea31ecfd935874fde8113546..036be15d5ab2d5ed34c630f2a79502ec00ec6ba2 100755 (executable)
--- a/basile.py
+++ b/basile.py
@@ -920,7 +920,7 @@ class Basile(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 _getnick(self):
         return self.serv.get_nickname()