Skip to content

Commit

Permalink
Merge pull request #2878 from InfinityPacer/feature/module
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp authored Oct 19, 2024
2 parents 1a40860 + 08830c7 commit c6febe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/modules/transmission/transmission.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def get_completed_torrents(self, ids: Union[str, list] = None,
if not self.trc:
return None
try:
torrents, error = self.get_torrents(status=["", "seed_pending"], ids=ids, tags=tags)
torrents, error = self.get_torrents(status=["seeding", "seed_pending"], ids=ids, tags=tags)
return None if error else torrents or []
except Exception as err:
logger.error(f"获取已完成的种子列表出错:{str(err)}")
Expand Down

0 comments on commit c6febe4

Please sign in to comment.