summaryrefslogtreecommitdiff
path: root/proxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'proxy.py')
-rw-r--r--proxy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy.py b/proxy.py
index efb4a90..8932637 100644
--- a/proxy.py
+++ b/proxy.py
@@ -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))