diff --git a/app/modules/filter/__init__.py b/app/modules/filter/__init__.py index ebef04699..ad6bc2616 100644 --- a/app/modules/filter/__init__.py +++ b/app/modules/filter/__init__.py @@ -348,11 +348,11 @@ def __match_rule(self, torrent: TorrentInfo, rule_name: str) -> bool: # 包含规则项 includes = self.rule_set[rule_name].get("include") or [] if isinstance(includes, str): - includes = includes.split("|") + includes = [includes] # 排除规则项 excludes = self.rule_set[rule_name].get("exclude") or [] if isinstance(excludes, str): - excludes = excludes.split("|") + excludes = [excludes] # 大小范围规则项 size_range = self.rule_set[rule_name].get("size_range") # 做种人数规则项