From 9dc2555746adf717da0db808f4096af2167a1580 Mon Sep 17 00:00:00 2001 From: Devendra Date: Thu, 17 Apr 2014 00:28:05 +0530 Subject: adding ver 1 of dev console --- common/PubnubBase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/PubnubBase.py') diff --git a/common/PubnubBase.py b/common/PubnubBase.py index 98c68eb..075327d 100644 --- a/common/PubnubBase.py +++ b/common/PubnubBase.py @@ -120,7 +120,7 @@ class PubnubBase(object): params=params ) - signature = self._pam_sign(sign_input) + query['signature'] = self._pam_sign(sign_input) ''' url = ("https://pubsub.pubnub.com/v1/auth/{apitype}/sub-key/".format(apitype="audit" if (apicode) else "grant") + @@ -133,7 +133,7 @@ class PubnubBase(object): 'v1', 'auth', "audit" if (apicode) else "grant" , 'sub-key', self.subscribe_key - ], 'urlparams' : {'auth' : self.auth_key, 'signature' : signature}}, + ], 'urlparams' : query}, self._return_wrapped_callback(callback)) def grant( self, channel, authkey=False, read=True, write=True, ttl=5, callback=None): -- cgit v1.2.3