feat 转移历史记录文件清单

This commit is contained in:
jxxghp
2023-08-12 18:11:20 +08:00
parent bd163f9c4b
commit 61d44a6e7d
9 changed files with 48 additions and 9 deletions

View File

@ -111,7 +111,7 @@ class TorrentRemover(_PluginBase):
self._onlyonce = False
# 保存设置
self.update_config({
"enable": self._enabled,
"enabled": self._enabled,
"notify": self._notify,
"onlyonce": self._onlyonce,
"action": self._action,
@ -132,7 +132,7 @@ class TorrentRemover(_PluginBase):
})
def get_state(self) -> bool:
return self._enabled and True if self._cron and self._downloaders else False
return self._enabled and self._cron and self._downloaders
@staticmethod
def get_command() -> List[Dict[str, Any]]: