bin/frappy-cli: fix hosts variable

This commit is contained in:
2025-06-05 10:12:34 +02:00
parent 54c9fb9db9
commit 04f7f6ece5

View File

@ -69,7 +69,7 @@ args = parseArgv(sys.argv[1:])
nodes = args.node nodes = args.node
hosts = args.scan hosts = args.scan
if not nodes and not hosts: if not nodes and not hosts:
host = ['localhost'] hosts = ['localhost']
if hosts: if hosts:
answers = [] answers = []
for host in hosts: for host in hosts: