diff --git a/freenas_network_unlock.py b/freenas_network_unlock.py index eb2f6f2..3009b6b 100644 --- a/freenas_network_unlock.py +++ b/freenas_network_unlock.py @@ -2,12 +2,10 @@ import requests # For the api calls import platform # For getting the operating system name import subprocess # For executing a shell command import yaml # For parsing the yaml config file +import config # configuration file -with open("config.yml", 'r') as ymlfile: - cfg = yaml.safe_load(ymlfile) +print(config) -for section in cfg: - print(section) exit() def ping(host):