aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevendra2014-12-18 03:54:43 +0530
committerDevendra2014-12-18 03:54:43 +0530
commit56636c75bf48dc9bf26b320354b5e4130e94dbd8 (patch)
tree022f62bb5592d284c68e3ffb2e992d2c8f31aa7f
parent02766fc23b910f2f191a2e670052f31f0f0d0503 (diff)
downloadpubnub-python-56636c75bf48dc9bf26b320354b5e4130e94dbd8.tar.bz2
few minor fixes
-rw-r--r--Pubnub.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Pubnub.py b/Pubnub.py
index 9d69fa0..fa553f2 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):
@@ -942,7 +942,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: