This commit is contained in:
jxxghp 2023-07-19 12:41:40 +08:00
parent e6bacf3b7b
commit 1ce7e624ad

View File

@ -83,7 +83,7 @@ class FilterModule(_ModuleBase):
pass pass
def init_setting(self) -> Tuple[str, Union[str, bool]]: def init_setting(self) -> Tuple[str, Union[str, bool]]:
return "FILTER_RULE", True pass
def filter_torrents(self, rule_string: str, def filter_torrents(self, rule_string: str,
torrent_list: List[TorrentInfo], torrent_list: List[TorrentInfo],