diff options
| author | Devendra | 2014-04-17 00:28:05 +0530 | 
|---|---|---|
| committer | Devendra | 2014-04-17 00:28:05 +0530 | 
| commit | 9dc2555746adf717da0db808f4096af2167a1580 (patch) | |
| tree | 71b9f309cc123313309dc9d7bbf500822e5c99f1 /python-twisted | |
| parent | 150ae1566d813acbb773839e919db2c0f467931c (diff) | |
| download | pubnub-python-9dc2555746adf717da0db808f4096af2167a1580.tar.bz2 | |
adding ver 1 of dev console
Diffstat (limited to 'python-twisted')
| -rw-r--r-- | python-twisted/Pubnub.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/python-twisted/Pubnub.py b/python-twisted/Pubnub.py index 383ee6d..b9e6b52 100644 --- a/python-twisted/Pubnub.py +++ b/python-twisted/Pubnub.py @@ -291,7 +291,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") + @@ -304,7 +304,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): | 
