fix TR连接、删种插件state报错

This commit is contained in:
thsrite
2023-08-10 22:01:02 +08:00
parent 9b8dc76fb0
commit 35778b1dd7
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ class TorrentRemover(_PluginBase):
})
def get_state(self) -> bool:
return self._enabled and self._cron and self._downloaders
return self._enabled and True if self._cron and self._downloaders else False
@staticmethod
def get_command() -> List[Dict[str, Any]]: