Fix netutils formatting
This commit is contained in:
parent
272d7d7f74
commit
c9af24392d
2 changed files with 23 additions and 20 deletions
|
@ -46,7 +46,7 @@ def net_check(comm_inst):
|
|||
rec = True
|
||||
except ValueError:
|
||||
pass
|
||||
if not rec and not netutils.checkNetwork(torPort=comm_inst.proxyPort):
|
||||
if not rec and not netutils.check_network(torPort=comm_inst.proxyPort):
|
||||
if not kv.get('shutdown'):
|
||||
if not comm_inst.config.get('general.offline_mode', False):
|
||||
logger.warn('Network check failed, are you connected to ' +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue