Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cloudflare-ddns.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def deleteEntries(type):
"GET", option)
if answer is None or answer["result"] is None:
time.sleep(5)
return
continue
for record in answer["result"]:
identifier = str(record["id"])
cf_api(
Expand Down Expand Up @@ -124,7 +124,7 @@ def commitRecord(ip):
response = cf_api("zones/" + option['zone_id'], "GET", option)
if response is None or response["result"]["name"] is None:
time.sleep(5)
return
continue
base_domain_name = response["result"]["name"]
for subdomain in subdomains:
try:
Expand Down