From 27a3d91578df9c0c1f481db9e53fa4b77d4b9b01 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 2 Sep 2025 16:54:53 +0800 Subject: [PATCH] bugfix --- uapi/appapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uapi/appapi.py b/uapi/appapi.py index 42a9786..ab55e50 100644 --- a/uapi/appapi.py +++ b/uapi/appapi.py @@ -178,7 +178,7 @@ class UAPI: if line.startswith(filter): line = line[len(filter):] if self.uapi.response: - dic = json.loads(line.decode('utf-8') + dic = json.loads(line.decode('utf-8')) line = self.rendertmpl(self.uapi.response, dic) yield line + '\n' else: