aboutsummaryrefslogtreecommitdiffstats
path: root/python/Pubnub.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/Pubnub.py')
-rw-r--r--python/Pubnub.py4
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]