From 2b0dae763b8acedcffc90a963cc70e690e091b09 Mon Sep 17 00:00:00 2001 From: Neshura Date: Sun, 27 Nov 2022 18:50:01 +0100 Subject: [PATCH] Uncaught syntax error --- cloudflare_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudflare_script.py b/cloudflare_script.py index bc35ff7..2b7a836 100644 --- a/cloudflare_script.py +++ b/cloudflare_script.py @@ -64,7 +64,7 @@ def main(): if fullname in dns_names['A']: new_dnsrecords = {"name": fullname, "type": "A", "content": ip_address_new} print(f"Sending request {new_dnsrecords}") - try; + try: r = cf.zones.dns_records.patch(zone_id, dns_record_id, data=new_dnsrecords) print(r) except: