Remove hardcoded value :').

This commit is contained in:
redxef 2024-01-16 19:26:15 +01:00
parent 84a4f11f52
commit f1ccd236d9
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -106,7 +106,7 @@ def main(config, level, force_refresh):
) )
records = [ records = [
r 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'] if r['fieldType'] == config['field_type']
and r['zone'] == config['zone'] and r['zone'] == config['zone']
and r['subDomain'] == config['subdomain'] and r['subDomain'] == config['subdomain']