From 41dfdfbed34ab5e7d417a1c25c74cc877b665864 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 11 Jul 2023 08:10:56 +0800 Subject: [PATCH] fix --- app/chain/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/chain/search.py b/app/chain/search.py index 0da19cbf..aef5dcfb 100644 --- a/app/chain/search.py +++ b/app/chain/search.py @@ -62,7 +62,7 @@ class SearchChain(ChainBase): 获取上次搜索结果 """ results = self.systemconfig.get(SystemConfigKey.SearchResults) - if not results or not ObjectUtils.is_obj(results): + if not results: return [] return pickle.loads(results)