fix downloading

This commit is contained in:
jxxghp
2023-07-07 07:07:13 +08:00
parent 19217de7d8
commit 517f83ae61
3 changed files with 4 additions and 3 deletions

View File

@ -95,7 +95,7 @@ class Qbittorrent(metaclass=Singleton):
if not self.qbc:
return None
torrents, error = self.get_torrents(ids=ids,
status=["downloading", 'paused'],
status=["downloading", 'paused', 'stalled_downloading'],
tags=tags)
return None if error else torrents or []