summaryrefslogtreecommitdiff
path: root/omegle.py
diff options
context:
space:
mode:
authoryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-05-27 22:10:56 +0000
committeryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-05-27 22:10:56 +0000
commit423fe90162a1c097b02bb8add604cdb9d95a04d0 (patch)
tree4accab8e4b9110b247a6049881aaa45ec90671fc /omegle.py
parentc689f6e875a9a6997f2c475eb995ec931c238498 (diff)
downloadomegle-423fe90162a1c097b02bb8add604cdb9d95a04d0.tar.gz
omegle-423fe90162a1c097b02bb8add604cdb9d95a04d0.zip
blah!
git-svn-id: http://xapek.org/svn/common/omegle@1021 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
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",