Update 'freenas_network_unlock.py'
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user