diff options
Diffstat (limited to 'src/leap/bitmask/vpn/tunnel.py')
-rw-r--r-- | src/leap/bitmask/vpn/tunnel.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/leap/bitmask/vpn/tunnel.py b/src/leap/bitmask/vpn/tunnel.py index ae86320..64796e9 100644 --- a/src/leap/bitmask/vpn/tunnel.py +++ b/src/leap/bitmask/vpn/tunnel.py @@ -88,8 +88,13 @@ class ConfiguredTunnel(object): @property def status(self): if not self._vpnproc: - return {'status': 'off', 'error': None} - return self._vpnproc.status + status = {'status': 'off', 'error': None} + else: + status = self._vpnproc.status + # Currently, there's some UI flickering that needs to be debugged #9049 + # XXX remove this print after that. + print ">>>STATUS", status + return status @property def traffic_status(self): |