diff options
| author | Devendra | 2013-10-11 01:03:45 +0530 | 
|---|---|---|
| committer | Devendra | 2013-10-11 01:03:45 +0530 | 
| commit | 56a6a2cf5e798f412621a2ed4a6d2cb5356ee156 (patch) | |
| tree | 9edc511d6a9e0d1e99200b3fa942ce16078cafd6 /python/Pubnub.py | |
| parent | cb4b18841fa719ce982b06002889831aedd287ac (diff) | |
| download | pubnub-python-56a6a2cf5e798f412621a2ed4a6d2cb5356ee156.tar.bz2 | |
fixed subscribe url generation code for python core
Diffstat (limited to 'python/Pubnub.py')
| -rw-r--r-- | python/Pubnub.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/python/Pubnub.py b/python/Pubnub.py index b1d1777..680e64c 100644 --- a/python/Pubnub.py +++ b/python/Pubnub.py @@ -578,13 +578,13 @@ class PubnubCore(PubnubBase):              timetoken = 'timetoken' in args and args['timetoken'] or 0              try :                  ## Wait for Message -                response = self._request(self._encode([ +                response = self._request({"urlcomponents" : [                      'subscribe',                      subscribe_key,                      channel,                      '0',                      str(timetoken) -                ])+['?uuid='+self.uuid], encode=False) +                ],"urlparams" : {"uuid" : self.uuid }})                  messages          = response[0]                  args['timetoken'] = response[1] | 
