From de329fa2c08d368e03432e18010fe7991686ab5c Mon Sep 17 00:00:00 2001 From: drebs Date: Mon, 26 Sep 2016 16:48:11 -0300 Subject: [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. --- src/leap/bitmask/core/dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/leap/bitmask/core/dispatcher.py b/src/leap/bitmask/core/dispatcher.py index 2860c88..fe85682 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) -- cgit v1.2.3