diff options
author | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-06-10 09:13:32 +0000 |
---|---|---|
committer | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-06-10 09:13:32 +0000 |
commit | 75814d6b8085f6b05870e6ec1bfc301a1d3a5e6c (patch) | |
tree | 4dde73f80034b7b018a9e6edb5f81d042e479555 /omegle.py | |
parent | 5515a3aefb0ae18b06780788af839ddebf1c8485 (diff) | |
download | omegle-75814d6b8085f6b05870e6ec1bfc301a1d3a5e6c.tar.gz omegle-75814d6b8085f6b05870e6ec1bfc301a1d3a5e6c.zip |
yiha
git-svn-id: http://xapek.org/svn/common/omegle@1100 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
Diffstat (limited to 'omegle.py')
-rw-r--r-- | omegle.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -133,7 +133,9 @@ class OmegleChat(RESTClient): self.logger.error("Cant send message if not is_confirmed") return ###XXX raise?? - r = RESTClient.request(self,"POST","/send",urllib.urlencode({'id':self.id,'msg':msg})) + params = {'ala':'gaga','id':self.id,'msg':msg,'zla2':'gaga2'} + params = urllib.urlencode(params) + r = RESTClient.request(self,"POST","/send",params) body = r.read() if body != "win": self.logger.error("/send; Bad response %s" % body) |