From 96986ee543d528737f0a080a83f4637398ac5bae Mon Sep 17 00:00:00 2001 From: Amber Date: Thu, 28 Mar 2024 16:47:31 +0100 Subject: [PATCH] pretty print fix --- src/pretty_print.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretty_print.py b/src/pretty_print.py index 778708d..99b2791 100644 --- a/src/pretty_print.py +++ b/src/pretty_print.py @@ -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)