Minor changes

This commit is contained in:
Loïc Guégan 2023-10-26 12:37:40 +02:00
parent b2835c72a3
commit 21a83cd973

View file

@ -36,6 +36,9 @@ def check(timeout=0.1):
if os.path.exists(nodes_path):
with open(nodes_path) as f:
nodes=json.load(f)
else:
print("Please perform a scan before")
exit(0)
if not nodes == None:
fail=False
for ip in nodes: