]> gitweb.pimeys.fr Git - bots/hung.git/blobdiff - hung.py
Encore et toujours l'utf8
[bots/hung.git] / hung.py
diff --git a/hung.py b/hung.py
index 99aa68a5752ebcf8eaee88c98a44b22e0064f227..6746f64f2d752a96d651c1c7a21814d0f2483f43 100755 (executable)
--- 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)