mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-09 01:16:50 +08:00
Revert "Merge pull request #5573 from wikrin/refactor-static-methods-conversion"
This reverts commitb8fc20b981, reversing changes made toe09cfc6704.
This commit is contained in:
@@ -210,12 +210,11 @@ class TorrentsChain(ChainBase):
|
||||
|
||||
# 读取缓存
|
||||
torrents_cache = self.get_torrents()
|
||||
torrenthelper = TorrentHelper()
|
||||
|
||||
# 缓存过滤掉无效种子
|
||||
for _domain, _torrents in torrents_cache.items():
|
||||
torrents_cache[_domain] = [_torrent for _torrent in _torrents
|
||||
if not torrenthelper.is_invalid(_torrent.torrent_info.enclosure)]
|
||||
if not TorrentHelper().is_invalid(_torrent.torrent_info.enclosure)]
|
||||
|
||||
# 需要刷新的站点domain
|
||||
domains = []
|
||||
|
||||
Reference in New Issue
Block a user