diff --git a/pymobiledevice3/cli/cli_common.py b/pymobiledevice3/cli/cli_common.py index ad7a9aed7..6c488d988 100644 --- a/pymobiledevice3/cli/cli_common.py +++ b/pymobiledevice3/cli/cli_common.py @@ -72,10 +72,10 @@ def print_json(buf, colored=True, default=default_json_encoder): colorful_json = highlight(formatted_json, lexers.JsonLexer(), formatters.TerminalTrueColorFormatter(style='stata-dark')) print(colorful_json) - return(colorful_json) + return colorful_json else: print(formatted_json) - return(formatted_json) + return formatted_json def print_hex(data, colored=True):