bug fixes
This commit is contained in:
parent
1faae80aaf
commit
e346c09228
5 changed files with 17 additions and 8 deletions
|
@ -58,7 +58,7 @@ class DaemonTools:
|
|||
def netCheck(self):
|
||||
'''Check if we are connected to the internet or not when we can't connect to any peers'''
|
||||
if len(self.daemon.onlinePeers) != 0:
|
||||
if not self.daemon._core._utils.checkNetwork():
|
||||
if not self.daemon._core._utils.checkNetwork(torPort=self.daemon.proxyPort):
|
||||
logger.warn('Network check failed, are you connected to the internet?')
|
||||
self.daemon.isOnline = False
|
||||
self.daemon.decrementThreadCount('netCheck')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue