diff --git a/bumblebee/modules/vpn.py b/bumblebee/modules/vpn.py index a43e36b..6ce7850 100644 --- a/bumblebee/modules/vpn.py +++ b/bumblebee/modules/vpn.py @@ -76,7 +76,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")