indent with 3 spaces

This commit is contained in:
Mylloon 2024-05-06 14:43:07 +02:00
parent 1215d802bd
commit db09746609
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -133,7 +133,7 @@ if __name__ == "__main__":
# Output XML
dom = xml_parser(xml_string)
pretty_xml = dom.toprettyxml(encoding="UTF-8").decode()
pretty_xml = dom.toprettyxml(indent=" ", encoding="UTF-8").decode()
if args.output:
with open(args.output, "w") as output_file:
output_file.write(pretty_xml)