diff options
| author | Devendra | 2014-12-27 02:41:42 +0530 | 
|---|---|---|
| committer | Devendra | 2014-12-27 02:41:42 +0530 | 
| commit | c4d860f05941b7b9ca837c6576b2b70bbda35c04 (patch) | |
| tree | 7eec50852b8b20c48f0811771c6b1c10221c9113 /Pubnub.py | |
| parent | 3cdf70cb5021dc0cf95b4a37cf2a7f2273b60764 (diff) | |
| parent | 3c53b5d8c909386a69bd50b6b83a17ad4cfba817 (diff) | |
| download | pubnub-python-c4d860f05941b7b9ca837c6576b2b70bbda35c04.tar.bz2 | |
Merge branch 'develop' into cg
Diffstat (limited to 'Pubnub.py')
| -rw-r--r-- | Pubnub.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -371,7 +371,7 @@ class PubnubBase(object):          self.auth_key = auth_key      def get_auth_key(self): -        return auth_key +        return self.auth_key      def grant(self, channel=None, channel_group=None, auth_key=False, read=False,                write=False, manage=False, ttl=5, callback=None, error=None): @@ -943,7 +943,7 @@ class PubnubBase(object):          if (channels is not None):              if (type(channels) is list): -                channels = channels.join(',') +                channels = ','.join(channels)              params[mode] = channels              #params['cloak'] = 'true' if CLOAK is True else 'false'          else: @@ -1781,7 +1781,7 @@ class PubnubTwisted(PubnubCoreAsync):          self.headers['V'] = [self.version]          self.pnsdk = 'PubNub-Python-' + 'Twisted' + '/' + self.version -    def _request(self, request, callback=None, error=None, single=False): +    def _request(self, request, callback=None, error=None, single=False, timeout=5):          global pnconn_pool          def _invoke(func, data): | 
