Merge pull request #3591 from InfinityPacer/feature/module

This commit is contained in:
jxxghp
2024-12-22 10:28:15 +08:00
committed by GitHub
+1 -1
View File
@@ -126,7 +126,7 @@ class Transmission:
return None return None
try: try:
torrents, error = self.get_torrents(ids=ids, torrents, error = self.get_torrents(ids=ids,
status=["downloading", "download_pending", "stopped"], status=["downloading", "download_pending"],
tags=tags) tags=tags)
return None if error else torrents or [] return None if error else torrents or []
except Exception as err: except Exception as err: