summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-18 08:45:35 +0900
committerkali <kali@leap.se>2013-01-18 08:45:35 +0900
commit54802bf9c53fc32cfcceb23045c5aeb313c19829 (patch)
tree555ecadf320f02be43051948302940a8db89b362 /src/leap
parent6fb952397573f4bc90f4cd9e72b49fcf6256e95c (diff)
fix network checker attr in wizard
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/baseapp/network.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/baseapp/network.py b/src/leap/baseapp/network.py
index a67f6340..d5685504 100644
--- a/src/leap/baseapp/network.py
+++ b/src/leap/baseapp/network.py
@@ -21,12 +21,13 @@ class NetworkCheckerAppMixin(object):
def __init__(self, *args, **kwargs):
provider = kwargs.pop('provider', None)
+ self.network_checker = None
if provider:
self.init_network_checker(provider)
def init_network_checker(self, provider):
null_check(provider, "provider_domain")
- if not hasattr(self, 'network_checker'):
+ if not self.network_checker:
self.network_checker = NetworkCheckerThread(
error_cb=self.networkError.emit,
debug=self.debugmode,