Update 'freenas_network_unlock.py'

This commit is contained in:
2019-11-09 20:52:57 -05:00
parent 82e4dd1768
commit fa7d30af4a

View File

@@ -4,7 +4,7 @@ import subprocess # For executing a shell command
import yaml # For parsing the yaml config file
with open("config.yml", 'r') as ymlfile:
cfg = yaml.load(ymlfile)
cfg = yaml.safe_load(ymlfile)
for section in cfg:
print(section)