From 81a29d36044e1a891420ff708f8c02f81e487770 Mon Sep 17 00:00:00 2001 From: mayun110 Date: Thu, 24 Aug 2023 20:31:32 +0800 Subject: [PATCH] fix #233 --- app/modules/qbittorrent/qbittorrent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/modules/qbittorrent/qbittorrent.py b/app/modules/qbittorrent/qbittorrent.py index 26c311b3..55a845c6 100644 --- a/app/modules/qbittorrent/qbittorrent.py +++ b/app/modules/qbittorrent/qbittorrent.py @@ -83,8 +83,8 @@ class Qbittorrent(metaclass=Singleton): """ if not self.qbc: return None - # completed会包含移动状态 更改为获取活动上传状态和正在做种状态 - torrents, error = self.get_torrents(status=["completed"], ids=ids, tags=tags) + # completed会包含移动状态 改为获取seeding状态 包含活动上传, 正在做种, 及强制做种 + torrents, error = self.get_torrents(status=["seeding"], ids=ids, tags=tags) return None if error else torrents or [] def get_downloading_torrents(self, ids: Union[str, list] = None,