From 56a6a2cf5e798f412621a2ed4a6d2cb5356ee156 Mon Sep 17 00:00:00 2001 From: Devendra Date: Fri, 11 Oct 2013 01:03:45 +0530 Subject: fixed subscribe url generation code for python core --- common/PubnubCore.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/PubnubCore.py b/common/PubnubCore.py index 9f79dc8..9a4fcae 100644 --- a/common/PubnubCore.py +++ b/common/PubnubCore.py @@ -89,13 +89,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] -- cgit v1.2.3