diff options
Diffstat (limited to 'proxy.py')
-rw-r--r-- | proxy.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,9 +36,9 @@ class OmegleProxyChat(OmegleChat): def on_message(self,message): self.idlecount = 0 - print self.c("%s [MSG] %s: %s" %(time.strftime("%H:%M:%S"), self.name, message),bold=True) + print self.c("%s [MSG] %s: %s" %(time.strftime("%H:%M:%S"), self.name, message.encode("utf-8")),bold=True) if self.partner.is_connected: - self.partner.send(message) + self.partner.send(message.decode("utf-8")) def on_connect(self): print self.c("%s [EVT] %s Connection confirmed" % (time.strftime("%H:%M:%S"), self.name)) |