From 17983d4ecc67b50909ffcbc56c6996e8707cfecb Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Fri, 1 May 2020 08:51:05 +0200 Subject: [PATCH] [modules/vpn] fixed typo in vpn module * due to a typo in the vpn module it wasn't possible anymore to disconnect an established vpn connection. --- modules/contrib/vpn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/contrib/vpn.py b/modules/contrib/vpn.py index 6f64792..c403487 100644 --- a/modules/contrib/vpn.py +++ b/modules/contrib/vpn.py @@ -71,7 +71,7 @@ class Module(core.module.Module): def __on_vpndisconnect(self): try: - util.lci.execute('nmcli c down \'{vpn}\'' + util.cli.execute('nmcli c down \'{vpn}\'' .format(vpn=self.__connected_vpn_profile)) self.__connected_vpn_profile = None except Exception as e: