From 004047b6bba419e48ed61aedfa41a60ca81b3503 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 24 Aug 2023 11:01:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E6=BB=9APR=20#233?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/modules/qbittorrent/qbittorrent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/qbittorrent/qbittorrent.py b/app/modules/qbittorrent/qbittorrent.py index 5debbfc5..26c311b3 100644 --- a/app/modules/qbittorrent/qbittorrent.py +++ b/app/modules/qbittorrent/qbittorrent.py @@ -84,7 +84,7 @@ class Qbittorrent(metaclass=Singleton): if not self.qbc: return None # completed会包含移动状态 更改为获取活动上传状态和正在做种状态 - torrents, error = self.get_torrents(status=["stalled_uploading", "stalled"], ids=ids, tags=tags) + torrents, error = self.get_torrents(status=["completed"], ids=ids, tags=tags) return None if error else torrents or [] def get_downloading_torrents(self, ids: Union[str, list] = None,