pretty print fix

This commit is contained in:
Amber 2024-03-28 16:47:31 +01:00
parent ceedc74ce9
commit 96986ee543
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
import json
def pp(json_obj, indent=2):
dumps = json.dumps(json_obj, indent=2)
dumps = json.dumps(json_obj, indent=indent)
print(dumps)