summaryrefslogtreecommitdiff
path: root/omegle.py
diff options
context:
space:
mode:
Diffstat (limited to 'omegle.py')
-rw-r--r--omegle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/omegle.py b/omegle.py
index 2f70e21..85d87c3 100644
--- a/omegle.py
+++ b/omegle.py
@@ -83,7 +83,7 @@ class OmegleChat(object):
conn.close()
def send(self,msg):
- msg = unicode(msg)
+ msg = unicode(msg).encode("utf8")
self.conn_lock.acquire()
self.conn.request("POST",
"/send",