Skip to content
Open
Changes from 1 commit
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
5 changes: 3 additions & 2 deletions examples/zone-export.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
print(zone_file)

# Save to a file
with open("example.com.txt", "w") as f:
output_file = f"{zone_name}.txt"
with open(output_file, "w") as f:
f.write(zone_file)
print("Zone file saved to example.com.txt")
print(f"Zone file saved to {output_file}")
Loading