From e4c57e6e972aef1758994651457352de6581081a Mon Sep 17 00:00:00 2001 From: HarHar Date: Thu, 24 Jan 2013 21:16:28 -0200 Subject: [PATCH] [irc] _hopefully_ fix unicode error --- syncplay/ircBot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/ircBot.py b/syncplay/ircBot.py index 00f02da..f97e9b2 100644 --- a/syncplay/ircBot.py +++ b/syncplay/ircBot.py @@ -70,7 +70,7 @@ class Bot(object): self.msg(self.channel, chr(2) + '<' + who + '>'+ chr(15) +' has jumped from ' + utils.formatTime(fromTime) + ' to ' + utils.formatTime(toTime) +' (room ' + room + ')') def sockSend(self, s): - self.sock.send(s + '\r\n') + self.sock.send(s + u'\r\n') def msg(self, who, message): self.sockSend('PRIVMSG ' + who + ' :' + message) def join(self, channel, passw=''):