diff --git a/main.py b/main.py index 24f9378..9daeb22 100755 --- a/main.py +++ b/main.py @@ -106,7 +106,7 @@ def main(config, level, force_refresh): ) records = [ r - for r in get_records(ovh_client, {'zone': 'redxef.at'}) + for r in get_records(ovh_client, {'zone': config['zone']}) if r['fieldType'] == config['field_type'] and r['zone'] == config['zone'] and r['subDomain'] == config['subdomain']