mirror of
https://github.com/Syncplay/syncplay
synced 2025-02-19 20:46:50 +00:00
[irc] _hopefully_ fix unicode error
This commit is contained in:
parent
bd30e67a66
commit
e4c57e6e97
@ -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=''):
|
||||
|
Loading…
Reference in New Issue
Block a user