From f1ccd236d911260e2f473902fb2b3ce31e8f6a43 Mon Sep 17 00:00:00 2001 From: redxef Date: Tue, 16 Jan 2024 19:26:15 +0100 Subject: [PATCH] Remove hardcoded value :'). --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']