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