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

index 85de106a5084f97230eb4461572a423b14abebc4..005bfb9f28f2e3ab0bc447d9dd10bbcbced07c7b 100755 (executable)
@@ -571,7 +571,7 @@ class Deconnaisseur(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_score_file)