mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 07:56:52 +08:00
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -566,7 +566,7 @@ class SearchChain(ChainBase):
|
|||||||
) or []
|
) or []
|
||||||
)
|
)
|
||||||
search_count += 1
|
search_count += 1
|
||||||
# 有结果则停止
|
# 未开启多名称搜索时,有结果则停止
|
||||||
if not settings.SEARCH_MULTIPLE_NAME and torrents:
|
if not settings.SEARCH_MULTIPLE_NAME and torrents:
|
||||||
logger.info(f"共搜索到 {len(torrents)} 个资源,停止搜索")
|
logger.info(f"共搜索到 {len(torrents)} 个资源,停止搜索")
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user