diff options
| author | Devendra | 2014-04-17 01:06:51 +0530 |
|---|---|---|
| committer | Devendra | 2014-04-17 01:06:51 +0530 |
| commit | 85416ee30a4f54183e2be30f9ef3cc1363f98c4d (patch) | |
| tree | 8c6830a3fb5b639fb67a4422118d30bfaf47667c /common/PubnubBase.py | |
| parent | 9dc2555746adf717da0db808f4096af2167a1580 (diff) | |
| download | pubnub-python-85416ee30a4f54183e2be30f9ef3cc1363f98c4d.tar.bz2 | |
adding more options to dev console
Diffstat (limited to 'common/PubnubBase.py')
| -rw-r--r-- | common/PubnubBase.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/PubnubBase.py b/common/PubnubBase.py index 075327d..aa71577 100644 --- a/common/PubnubBase.py +++ b/common/PubnubBase.py @@ -147,14 +147,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) |
