fix non-ascii in json func
This commit is contained in:
parent
02d234be3f
commit
c5cd1726dd
@ -2,7 +2,7 @@
|
||||
set -eu
|
||||
|
||||
if [ -t 0 ]; then
|
||||
echo "${@}" | python -m json.tool
|
||||
echo "${@}" | python3 -m json.tool --no-ensure-ascii
|
||||
else
|
||||
python -m json.tool
|
||||
python3 -m json.tool --no-ensure-ascii
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user