From e4c588ced761ffc929ee1af302f6e292be2b8043 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 19 Nov 2022 08:15:38 -0700 Subject: [PATCH] Strip unicode still --- frigate/http.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/http.py b/frigate/http.py index 76863e8a2..3e6e4b015 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -1005,10 +1005,10 @@ def vainfo(): return jsonify( { "return_code": vainfo.returncode, - "stderr": vainfo.stderr.decode().strip() + "stderr": vainfo.stderr.decode("unicode_escape").strip() if vainfo.stderr.decode() else {}, - "stdout": vainfo.stdout.decode().strip() + "stdout": vainfo.stdout.decode("unicode_escape").strip() if vainfo.stdout.decode() else {}, }