回滚PR #233
This commit is contained in:
parent
10ee8d33fa
commit
004047b6bb
@ -84,7 +84,7 @@ class Qbittorrent(metaclass=Singleton):
|
|||||||
if not self.qbc:
|
if not self.qbc:
|
||||||
return None
|
return None
|
||||||
# completed会包含移动状态 更改为获取活动上传状态和正在做种状态
|
# 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 []
|
return None if error else torrents or []
|
||||||
|
|
||||||
def get_downloading_torrents(self, ids: Union[str, list] = None,
|
def get_downloading_torrents(self, ids: Union[str, list] = None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user