From d96148e54efe3b7544a1a41ca211699d838acf7d Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 20 Aug 2023 09:31:59 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=87=AA=E5=8A=A8=E5=88=A0=E7=A7=8D?= =?UTF-8?q?=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/plugins/torrentremover/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/plugins/torrentremover/__init__.py b/app/plugins/torrentremover/__init__.py index 859e1e12..5647ea26 100644 --- a/app/plugins/torrentremover/__init__.py +++ b/app/plugins/torrentremover/__init__.py @@ -117,6 +117,7 @@ class TorrentRemover(_PluginBase): "onlyonce": self._onlyonce, "action": self._action, "cron": self._cron, + "downloaders": self._downloaders, "samedata": self._samedata, "mponly": self._mponly, "size": self._size, @@ -203,7 +204,7 @@ class TorrentRemover(_PluginBase): 'props': { 'model': 'cron', 'label': '执行周期', - 'placeholder': '0 0 0 ? *' + 'placeholder': '0 */12 * * *' } } ] @@ -482,7 +483,8 @@ class TorrentRemover(_PluginBase): "notify": False, "onlyonce": False, "action": 'pause', - "cron": '0 0 0 ? *', + 'downloaders': [], + "cron": '0 */12 * * *', "samedata": False, "mponly": False, "size": "",