From 85416ee30a4f54183e2be30f9ef3cc1363f98c4d Mon Sep 17 00:00:00 2001 From: Devendra Date: Thu, 17 Apr 2014 01:06:51 +0530 Subject: adding more options to dev console --- python/Pubnub.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/Pubnub.py') diff --git a/python/Pubnub.py b/python/Pubnub.py index 169bd54..64bc14b 100644 --- a/python/Pubnub.py +++ b/python/Pubnub.py @@ -318,14 +318,14 @@ class PubnubBase(object): "ttl" : ttl }, callback=callback) - def revoke( self, channel, authkey=False, read=False, write=False, ttl=1, callback=None): + def revoke( self, channel, authkey=False, ttl=1, callback=None): """Revoke Access on a Channel.""" return self._pam_auth({ "channel" : channel, "auth" : authkey, - "r" : read and 1 or 0, - "w" : write and 1 or 0, + "r" : 0, + "w" : 0, "ttl" : ttl }, callback=callback) -- cgit v1.2.3