X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/c8f91e30dcd16dcb1e08557642de7067e1f4373d..381f9fc4d172477c95f525e34ebe699aaf34a09b:/bot.py?ds=sidebyside diff --git a/bot.py b/bot.py index 7a4cb37..2a4dd14 100644 --- a/bot.py +++ b/bot.py @@ -1,4 +1,5 @@ #!/usr/bin/python +# -*- coding: latin-1 -*- # Erebus IRC bot - Author: John Runyon # "Bot" and "BotConnection" classes (handling a specific "arm") @@ -180,7 +181,7 @@ class BotConnection(object): #TODO: rewrite send() to queue def send(self, line): - print self.parent.nick, '[O]', line + print self.parent.nick, '[O]', str(line) self.write(line) def write(self, line):