mirror of
https://gitlab.com/manzerbredes/clusterman.git
synced 2025-04-05 11:36:25 +02:00
Minor changes
This commit is contained in:
parent
b2835c72a3
commit
21a83cd973
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue