summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/raspberrypi/ctt/ctt_pretty_print_json.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/raspberrypi/ctt/ctt_pretty_print_json.py b/utils/raspberrypi/ctt/ctt_pretty_print_json.py
index 703a23fe..3de8c108 100644
--- a/utils/raspberrypi/ctt/ctt_pretty_print_json.py
+++ b/utils/raspberrypi/ctt/ctt_pretty_print_json.py
@@ -89,4 +89,5 @@ if __name__ == '__main__':
input_filename = sys.argv[1]
with open(input_filename, "r") as fin:
- pretty_print_json(fin.read(), "pretty.json")
+ printer = JSONPrettyPrinter(sys.stdout)
+ printer.print(fin.read())