From 4d7380dd1e868aceeebc64ed5fc1d24369999fa9 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Fri, 2 Jun 2017 12:33:26 +0200 Subject: [feat] On bitmaskclt vpn start use the last vpn if no provider is provided - Resolves: #8835 --- src/leap/bitmask/core/dispatcher.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/leap/bitmask/core') diff --git a/src/leap/bitmask/core/dispatcher.py b/src/leap/bitmask/core/dispatcher.py index ccb17db5..ba000d43 100644 --- a/src/leap/bitmask/core/dispatcher.py +++ b/src/leap/bitmask/core/dispatcher.py @@ -202,8 +202,7 @@ class VPNCmd(SubCommand): try: provider = parts[2] except IndexError: - raise DispatchError( - 'wrong number of arguments: expected 1, got none') + provider = None d = vpn.start_vpn(provider) return d -- cgit v1.2.3