mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix: 种子分类为空时被删除
This commit is contained in:
@@ -644,7 +644,7 @@ class TorrentRemover(_PluginBase):
|
|||||||
return None
|
return None
|
||||||
if self._torrentstates and torrent.state not in self._torrentstates:
|
if self._torrentstates and torrent.state not in self._torrentstates:
|
||||||
return None
|
return None
|
||||||
if self._torrentcategorys and torrent.category not in self._torrentcategorys:
|
if self._torrentcategorys and torrent.category and torrent.category not in self._torrentcategorys:
|
||||||
return None
|
return None
|
||||||
return {
|
return {
|
||||||
"id": torrent.hash,
|
"id": torrent.hash,
|
||||||
|
|||||||
Reference in New Issue
Block a user