summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2016-09-26 16:48:11 -0300
committerdrebs <drebs@riseup.net>2016-09-30 13:10:13 -0300
commitde329fa2c08d368e03432e18010fe7991686ab5c (patch)
tree43db7127fa10bee98e91665d1d05ac96ca2015a3 /src/leap/bitmask/core
parent529395ffdd2a3f5d6722c419c56d68dd2bc64976 (diff)
[bug] pass command parts to mail disable dispatcher
A missing command parts argument to mail subcommand dispatcher caused the `mail disable` command to never be executed.
Diffstat (limited to 'src/leap/bitmask/core')
-rw-r--r--src/leap/bitmask/core/dispatcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/bitmask/core/dispatcher.py b/src/leap/bitmask/core/dispatcher.py
index 2860c88d..fe85682b 100644
--- a/src/leap/bitmask/core/dispatcher.py
+++ b/src/leap/bitmask/core/dispatcher.py
@@ -381,7 +381,7 @@ class CommandDispatcher(object):
return _format_result({'mail': 'disabled'})
if subcmd == 'disable':
- d = dispatch(self.core)
+ d = dispatch(self.core, *parts)
elif subcmd != 'enable':
d = dispatch(mail, *parts, **kw)