From a90695d1fab9f7b31cb4522adb0889ed1b73be07 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 12 Aug 2023 18:13:44 +0800 Subject: [PATCH] fix bug --- app/plugins/torrentremover/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins/torrentremover/__init__.py b/app/plugins/torrentremover/__init__.py index b0fbd058..d5d817d5 100644 --- a/app/plugins/torrentremover/__init__.py +++ b/app/plugins/torrentremover/__init__.py @@ -132,7 +132,7 @@ class TorrentRemover(_PluginBase): }) def get_state(self) -> bool: - return self._enabled and self._cron and self._downloaders + return True if self._enabled and self._cron and self._downloaders else False @staticmethod def get_command() -> List[Dict[str, Any]]: