vpn: shorter default label

This commit is contained in:
Ludwig Behm 2023-11-08 22:59:56 +01:00
parent 900a0710c5
commit 3ed26c62a5
Signed by: l.behm
GPG key ID: D344835D63B89384

View file

@ -1,4 +1,5 @@
# pylint: disable=C0111,R0903 # pylint: disable=C0111,R0903
# -*- coding: utf-8 -*-
""" Displays the VPN profile that is currently in use. """ Displays the VPN profile that is currently in use.
@ -68,7 +69,7 @@ class Module(core.module.Module):
def vpn_status(self, widget): def vpn_status(self, widget):
if self.__connected_vpn_profile is None: if self.__connected_vpn_profile is None:
return "off" return ""
return self.__connected_vpn_profile return self.__connected_vpn_profile
def __on_vpndisconnect(self): def __on_vpndisconnect(self):