Uncaught syntax error
This commit is contained in:
parent
439716ed67
commit
2b0dae763b
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ def main():
|
||||||
if fullname in dns_names['A']:
|
if fullname in dns_names['A']:
|
||||||
new_dnsrecords = {"name": fullname, "type": "A", "content": ip_address_new}
|
new_dnsrecords = {"name": fullname, "type": "A", "content": ip_address_new}
|
||||||
print(f"Sending request {new_dnsrecords}")
|
print(f"Sending request {new_dnsrecords}")
|
||||||
try;
|
try:
|
||||||
r = cf.zones.dns_records.patch(zone_id, dns_record_id, data=new_dnsrecords)
|
r = cf.zones.dns_records.patch(zone_id, dns_record_id, data=new_dnsrecords)
|
||||||
print(r)
|
print(r)
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue