diff --git a/lib/controller/checks.py b/lib/controller/checks.py index ad945eda4..363b91523 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -868,7 +868,7 @@ def checkNullConnection(): return kb.nullConnection is not None def checkConnection(suppressOutput=False): - if not conf.proxy: + if not any([conf.proxy, conf.tor]): try: socket.getaddrinfo(conf.hostname, None) except socket.gaierror: