From e13e1c9ca389b11722d71910db99429321c914b5 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 1 May 2025 11:36:43 +0800 Subject: [PATCH] fix run_module --- app/chain/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/chain/__init__.py b/app/chain/__init__.py index d75b3eb2..a6410003 100644 --- a/app/chain/__init__.py +++ b/app/chain/__init__.py @@ -137,8 +137,8 @@ class ChainBase(metaclass=ABCMeta): "traceback": traceback.format_exc() } ) - if not is_result_empty(result): - # 如果插件模块返回结果,则不再执行系统模块 + if not is_result_empty(result) and not isinstance(result, list): + # 插件模块返回结果不为空且不是列表,直接返回 return result # 系统模块