diff options
Diffstat (limited to 'src/leap/bitmask/vpn/_status.py')
-rw-r--r-- | src/leap/bitmask/vpn/_status.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/bitmask/vpn/_status.py b/src/leap/bitmask/vpn/_status.py index 5d41a53..5cf0cc7 100644 --- a/src/leap/bitmask/vpn/_status.py +++ b/src/leap/bitmask/vpn/_status.py @@ -67,6 +67,9 @@ class VPNStatus(object): return status def set_status(self, status, errcode): + if not status: + return + if status in self._STARTING: status = "starting" elif status in self._STOPPING: |