aboutsummaryrefslogtreecommitdiffstats
path: root/Pubnub.py
diff options
context:
space:
mode:
Diffstat (limited to 'Pubnub.py')
-rw-r--r--Pubnub.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Pubnub.py b/Pubnub.py
index 0871616..2bb7cda 100644
--- a/Pubnub.py
+++ b/Pubnub.py
@@ -632,10 +632,7 @@ class PubnubBase(object):
Returns:
None
"""
- return self.subscribe({
- 'channel': channel + '-pnpres',
- 'subscribe_key': self.subscribe_key,
- 'callback': self._return_wrapped_callback(callback)})
+ return self.subscribe(channel+'-pnpres', callback=callback)
def here_now(self, channel, callback=None, error=None):
"""Get here now data.