aboutsummaryrefslogtreecommitdiffstats
path: root/Pubnub.py
diff options
context:
space:
mode:
authorDevendra2014-12-27 02:41:42 +0530
committerDevendra2014-12-27 02:41:42 +0530
commitc4d860f05941b7b9ca837c6576b2b70bbda35c04 (patch)
tree7eec50852b8b20c48f0811771c6b1c10221c9113 /Pubnub.py
parent3cdf70cb5021dc0cf95b4a37cf2a7f2273b60764 (diff)
parent3c53b5d8c909386a69bd50b6b83a17ad4cfba817 (diff)
downloadpubnub-python-c4d860f05941b7b9ca837c6576b2b70bbda35c04.tar.bz2
Merge branch 'develop' into cg
Diffstat (limited to 'Pubnub.py')
-rw-r--r--Pubnub.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Pubnub.py b/Pubnub.py
index ddacb1c..5466af7 100644
--- a/Pubnub.py
+++ b/Pubnub.py
@@ -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):