Merge pull request #613 from bbernhard/fix_vpn_disconnect

[modules/vpn] fixed typo in vpn module
This commit is contained in:
tobi-wan-kenobi 2020-05-01 10:05:44 +02:00 committed by GitHub
commit aee4b37fb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ class Module(core.module.Module):
def __on_vpndisconnect(self): def __on_vpndisconnect(self):
try: try:
util.lci.execute('nmcli c down \'{vpn}\'' util.cli.execute('nmcli c down \'{vpn}\''
.format(vpn=self.__connected_vpn_profile)) .format(vpn=self.__connected_vpn_profile))
self.__connected_vpn_profile = None self.__connected_vpn_profile = None
except Exception as e: except Exception as e: