mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Strip unicode still
This commit is contained in:
parent
5158e5e24f
commit
e4c588ced7
@ -1005,10 +1005,10 @@ def vainfo():
|
|||||||
return jsonify(
|
return jsonify(
|
||||||
{
|
{
|
||||||
"return_code": vainfo.returncode,
|
"return_code": vainfo.returncode,
|
||||||
"stderr": vainfo.stderr.decode().strip()
|
"stderr": vainfo.stderr.decode("unicode_escape").strip()
|
||||||
if vainfo.stderr.decode()
|
if vainfo.stderr.decode()
|
||||||
else {},
|
else {},
|
||||||
"stdout": vainfo.stdout.decode().strip()
|
"stdout": vainfo.stdout.decode("unicode_escape").strip()
|
||||||
if vainfo.stdout.decode()
|
if vainfo.stdout.decode()
|
||||||
else {},
|
else {},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user