Fix netutils formatting

This commit is contained in:
Kevin Froman 2020-08-12 17:29:53 -05:00
parent 272d7d7f74
commit c9af24392d
2 changed files with 23 additions and 20 deletions

View file

@ -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 ' +