From 1250da988d5a33c14f126b0fa4c3c57fec9409aa Mon Sep 17 00:00:00 2001 From: maxwgod <30300032+maxwbot@users.noreply.github.com> Date: Wed, 23 Aug 2023 16:59:20 -0300 Subject: [PATCH] Update check_ncpa.py to Decode latin-1 Some error with ptbr entry. Solved by adding correct Decoding Latin-1. --- client/check_ncpa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/check_ncpa.py b/client/check_ncpa.py index 1a830c6e9..a3a68f76c 100755 --- a/client/check_ncpa.py +++ b/client/check_ncpa.py @@ -261,7 +261,7 @@ def get_json(options): if options.verbose: print('File returned contained:\n' + ret.decode('utf-8')) - arr = json.loads(ret) + arr = json.loads(ret.decode('latin-1')) if options.list: return arr