Write to the provided output file

This commit is contained in:
2025-03-06 13:19:15 +00:00
parent 9ab574ea37
commit a2f86ed972

View File

@@ -111,7 +111,7 @@ def main():
print("{0} zones, {1} nodes".format(zones, nodes), file=sys.stderr)
# Dump out the resulting JSON to stdout
sys.stdout.write(json.dumps(zone_results))
args.output.write(json.dumps(zone_results))
if __name__ == "__main__":