mirror of
https://github.com/ValdikSS/tor-relay-scanner.git
synced 2026-10-09 15:09:51 +03:00
Check for working_relays before "No relays are reachable" print
This commit is contained in:
@@ -161,7 +161,7 @@ async def main_async(args):
|
||||
for relay in working_relays:
|
||||
if relay:
|
||||
print(relay, file=sys.stderr)
|
||||
if not any(test_relays):
|
||||
if not any(working_relays):
|
||||
print("No relays are reachable, at all.", file=sys.stderr)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user