summaryrefslogtreecommitdiffstats
path: root/cli/utils.py
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-08-06 17:01:36 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-08-06 17:01:36 +0200
commit5226226ab2f46acef4d80130ee3546e7be21b7a6 (patch)
tree74e5b4eeb11c29af745674b06d821f2ce9cc9e5b /cli/utils.py
parent488518c625ef0a750d416ceb0634211b3119ba14 (diff)
utils: print readable output for escaped non-ascii charactersv0.3.3-9
disable ascii_ensure in json dumps so listing of non-ascii characters is human readable.
Diffstat (limited to 'cli/utils.py')
-rw-r--r--cli/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/utils.py b/cli/utils.py
index 56fe723..9831d4b 100644
--- a/cli/utils.py
+++ b/cli/utils.py
@@ -49,7 +49,7 @@ def reorder_json_tree(payload):
def print_json(text):
payload = json.loads(text)
reorder_json_tree(payload)
- print(json.dumps(payload, indent=2))
+ print(json.dumps(payload, indent=2, ensure_ascii=False))
def check_address(addr):
try: