pretty print XML, name for the device type

This commit is contained in:
Trammell Hudson
2022-02-05 21:30:33 +01:00
parent 84592e0c99
commit 579c16b536
3 changed files with 979 additions and 1 deletions

View File

@@ -100,4 +100,4 @@ machine = {
"errors": errors,
}
print(json.dumps(machine))
print(json.dumps(machine, indent=4))