diff options
author | kali <kali@leap.se> | 2012-12-12 04:26:16 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-12-12 04:26:16 +0900 |
commit | b262ac8bae66c391aa249e93268db9935f1c475f (patch) | |
tree | 3d39b48495fbcfbfeab776af07558c345f4161cb /src/leap/baseapp/network.py | |
parent | cd78d9d552977e8f8fb12b6a2ff56fda9c37bf35 (diff) | |
parent | 04d423e2a89034dfb86fe305108162fd2a696079 (diff) |
Merge branch 'feature/openvpn-ciphers' into develop
Diffstat (limited to 'src/leap/baseapp/network.py')
-rw-r--r-- | src/leap/baseapp/network.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/leap/baseapp/network.py b/src/leap/baseapp/network.py index 077d5164..3e57490d 100644 --- a/src/leap/baseapp/network.py +++ b/src/leap/baseapp/network.py @@ -17,11 +17,14 @@ class NetworkCheckerAppMixin(object): """ def __init__(self, *args, **kwargs): + provider = kwargs.pop('provider', None) self.network_checker = NetworkCheckerThread( error_cb=self.networkError.emit, - debug=self.debugmode) + debug=self.debugmode, + provider=provider) - # XXX move run_checks to slot + # XXX move run_checks to slot -- this definitely + # cannot start on init!!! self.network_checker.run_checks() @QtCore.pyqtSlot(object) |