diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-03-28 13:35:56 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2017-04-03 15:41:19 +0200 |
commit | ef804c1fd5a8ae307aca70853c9224b63d14a731 (patch) | |
tree | 97e69bc1ca54b3dbb43e7215a15b2f5415f5dedd /src/leap/bitmask/core | |
parent | b71f8be2993c887130a00390e46615c882de6655 (diff) |
[feat] add a check for the installation of the helpers to the API
- Resolves: #8786
Diffstat (limited to 'src/leap/bitmask/core')
-rw-r--r-- | src/leap/bitmask/core/dispatcher.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/leap/bitmask/core/dispatcher.py b/src/leap/bitmask/core/dispatcher.py index 29a07e6d..c026c490 100644 --- a/src/leap/bitmask/core/dispatcher.py +++ b/src/leap/bitmask/core/dispatcher.py @@ -217,8 +217,7 @@ class VPNCmd(SubCommand): try: provider = parts[2] except IndexError: - raise DispatchError( - 'wrong number of arguments: expected 1, got none') + provider = None d = vpn.do_check(provider) return d |