From 472f0d35624f57c8eb2c54bf35fba007c9a85223 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 7 Aug 2025 18:26:29 +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 a76de04..9cfd0b8 100644 --- a/uapi/appapi.py +++ b/uapi/appapi.py @@ -123,7 +123,7 @@ class UAPI: if self.api.streamresponse: dic = json.loads(line) line = self.rendertmpl(self.api.streamresponse, dic) - yield line + yield line + '\n' else: debug(f'invalid line:{line}')