fix(api): 无法设置非默认下载器状态

This commit is contained in:
wumode
2025-06-13 08:43:34 +08:00
parent 1ffa5178db
commit f737f1287b
4 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ class Transmission:
return None
try:
torrents, error = self.get_torrents(ids=ids,
status=["downloading", "download_pending"],
status=["downloading", "download_pending", "stopped"],
tags=tags)
return None if error else torrents or []
except Exception as err: