From 5346f4e0478329da0d0ee38fc6e2ec74c1cf15c3 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Thu, 16 Dec 2021 06:51:31 -0800 Subject: [PATCH] add comments --- jello/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jello/cli.py b/jello/cli.py index 6c1bb64..6987d9e 100644 --- a/jello/cli.py +++ b/jello/cli.py @@ -166,7 +166,7 @@ def main(data=None, query='_'): # only process if there is data if data and not data.isspace(): - # load the JSON or JSON Lines + # load the JSON or JSON Lines into a dict or list of dicts try: data = load_json(data) except Exception as e: @@ -205,7 +205,7 @@ def main(data=None, query='_'): print(output) except Exception as e: - print_exception(e, data, query, response, ex_type='Formatting') + print_exception(e, data, query, response, ex_type='Output') if __name__ == '__main__':