This commit is contained in:
jxxghp 2023-07-11 08:10:56 +08:00
parent 8a4a66dec4
commit 41dfdfbed3

View File

@ -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)