From ef804c1fd5a8ae307aca70853c9224b63d14a731 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Tue, 28 Mar 2017 13:35:56 +0200 Subject: [feat] add a check for the installation of the helpers to the API - Resolves: #8786 --- src/leap/bitmask/cli/vpn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/leap/bitmask/cli') diff --git a/src/leap/bitmask/cli/vpn.py b/src/leap/bitmask/cli/vpn.py index e413e89d..60c57aac 100644 --- a/src/leap/bitmask/cli/vpn.py +++ b/src/leap/bitmask/cli/vpn.py @@ -80,7 +80,7 @@ SUBCOMMANDS: help='provider to check the VPN') subargs = parser.parse_args(raw_args) - provider = None + provider = "" if subargs.provider: provider = subargs.provider else: @@ -88,7 +88,7 @@ SUBCOMMANDS: try: _, provider = uid.split('@') except ValueError: - raise ValueError("A provider is needed to start the VPN") + pass self.data += ['check', provider] -- cgit v1.2.3