remove utils from netcheck
This commit is contained in:
parent
3bb0e48a06
commit
60d47e1e41
@ -32,7 +32,7 @@ def net_check(comm_inst):
|
|||||||
rec = True
|
rec = True
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
if not rec and not netutils.checkNetwork(c._utils, torPort=comm_inst.proxyPort):
|
if not rec and not netutils.checkNetwork(c, torPort=comm_inst.proxyPort):
|
||||||
if not comm_inst.shutdown:
|
if not comm_inst.shutdown:
|
||||||
logger.warn('Network check failed, are you connected to the Internet, and is Tor working?')
|
logger.warn('Network check failed, are you connected to the Internet, and is Tor working?')
|
||||||
comm_inst.isOnline = False
|
comm_inst.isOnline = False
|
||||||
|
Loading…
Reference in New Issue
Block a user