Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 0d831d8

Browse files
authored
Merge pull request #149 from huangsen365/patch-1
Update example_dns_export.py - updated zone_name
2 parents e5ebd91 + 515dff2 commit 0d831d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/example_dns_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def main():
3737
try:
3838
dns_records = cf.zones.dns_records.export.get(zone_id)
3939
except CloudFlare.exceptions.CloudFlareAPIError as e:
40-
exit('/zones/dns_records/export %s - %d %s - api call failed' % (dns_name, e, e))
40+
exit('/zones/dns_records/export %s - %d %s - api call failed' % (zone_name, e, e))
4141

4242
for l in dns_records.splitlines():
4343
if len(l) == 0 or l[0] == ';':

0 commit comments

Comments
 (0)