From caff3ddfb675e054d2f8b317516c54cd24cf30ed Mon Sep 17 00:00:00 2001 From: jgaunt Date: Sat, 9 Nov 2019 21:02:51 -0500 Subject: [PATCH] Update 'freenas_network_unlock.py' --- freenas_network_unlock.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/freenas_network_unlock.py b/freenas_network_unlock.py index 0d08ae8..c345112 100644 --- a/freenas_network_unlock.py +++ b/freenas_network_unlock.py @@ -6,8 +6,7 @@ import yaml # For parsing the yaml config file with open("config.yml", 'r') as ymlfile: cfg = yaml.safe_load(ymlfile) -for section in cfg: - print(section[hostname]) +print(cfg) exit() def ping(host):