fix 自动删种插件

This commit is contained in:
jxxghp 2023-08-20 09:31:59 +08:00
parent 9a74177d73
commit d96148e54e

View File

@ -117,6 +117,7 @@ class TorrentRemover(_PluginBase):
"onlyonce": self._onlyonce, "onlyonce": self._onlyonce,
"action": self._action, "action": self._action,
"cron": self._cron, "cron": self._cron,
"downloaders": self._downloaders,
"samedata": self._samedata, "samedata": self._samedata,
"mponly": self._mponly, "mponly": self._mponly,
"size": self._size, "size": self._size,
@ -203,7 +204,7 @@ class TorrentRemover(_PluginBase):
'props': { 'props': {
'model': 'cron', 'model': 'cron',
'label': '执行周期', 'label': '执行周期',
'placeholder': '0 0 0 ? *' 'placeholder': '0 */12 * * *'
} }
} }
] ]
@ -482,7 +483,8 @@ class TorrentRemover(_PluginBase):
"notify": False, "notify": False,
"onlyonce": False, "onlyonce": False,
"action": 'pause', "action": 'pause',
"cron": '0 0 0 ? *', 'downloaders': [],
"cron": '0 */12 * * *',
"samedata": False, "samedata": False,
"mponly": False, "mponly": False,
"size": "", "size": "",