This commit is contained in:
InfinityPacer
2024-12-22 02:04:36 +08:00
parent fd5fbd779b
commit 098279ceb6

View File

@@ -126,7 +126,7 @@ class Transmission:
return None
try:
torrents, error = self.get_torrents(ids=ids,
status=["downloading", "download_pending", "stopped"],
status=["downloading", "download_pending"],
tags=tags)
return None if error else torrents or []
except Exception as err: