更新 search.py

This commit is contained in:
jxxghp
2023-08-11 16:53:12 +08:00
committed by GitHub
parent 98a51f6ddc
commit a0dbbfd161

View File

@ -252,7 +252,7 @@ class SearchChain(ChainBase):
if not config_indexers or str(indexer.get("id")) in config_indexers:
# 站点流控
state, msg = self.siteshelper.check(indexer.get("domain"))
if not state:
if state:
logger.warn(msg)
continue
indexer_sites.append(indexer)