Skip to content

Commit c55eaf7

Browse files
committed
Merge branch 'timothymiller#181-zone-doesnt-exist'
2 parents 0358e0b + 4ea8e9a commit c55eaf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloudflare-ddns.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def deleteEntries(type):
4242
"GET", option)
4343
if answer is None or answer["result"] is None:
4444
time.sleep(5)
45-
return
45+
continue
4646
for record in answer["result"]:
4747
identifier = str(record["id"])
4848
cf_api(
@@ -125,7 +125,7 @@ def commitRecord(ip):
125125
response = cf_api("zones/" + option['zone_id'], "GET", option)
126126
if response is None or response["result"]["name"] is None:
127127
time.sleep(5)
128-
return
128+
continue
129129
base_domain_name = response["result"]["name"]
130130
for subdomain in subdomains:
131131
try:

0 commit comments

Comments
 (0)