diff --git a/bumblebee/modules/vpn.py b/bumblebee/modules/vpn.py index 01d903c..ffb4522 100644 --- a/bumblebee/modules/vpn.py +++ b/bumblebee/modules/vpn.py @@ -77,7 +77,7 @@ class Module(bumblebee.engine.Module): try: bumblebee.util.execute("nmcli c up \"{vpn}\"" - .format(vpn=self._connected_vpn_profile)) + .format(vpn=self._selected_vpn_profile)) self._connected_vpn_profile = name except Exception as e: logging.exception("Couldn't establish VPN connection")