fix non-ascii in json func

This commit is contained in:
thek4n 2026-02-04 11:19:41 +03:00
parent 02d234be3f
commit c5cd1726dd

View File

@ -2,7 +2,7 @@
set -eu set -eu
if [ -t 0 ]; then if [ -t 0 ]; then
echo "${@}" | python -m json.tool echo "${@}" | python3 -m json.tool --no-ensure-ascii
else else
python -m json.tool python3 -m json.tool --no-ensure-ascii
fi fi