parent
948319e785
commit
399fcb3d29
|
|
@ -56,7 +56,7 @@ def update_dns_zone(domain, apikey, config_data):
|
||||||
|
|
||||||
def parse_config_file(config_file):
|
def parse_config_file(config_file):
|
||||||
yaml_file = open(config_file, 'r')
|
yaml_file = open(config_file, 'r')
|
||||||
yaml_content = yaml.load(yaml_file)
|
yaml_content = yaml.load(yaml_file, Loader=yaml.FullLoader)
|
||||||
|
|
||||||
for key in yaml_content:
|
for key in yaml_content:
|
||||||
domain = key
|
domain = key
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue