fix transfer

This commit is contained in:
jxxghp
2023-06-11 15:31:36 +08:00
parent 90fe9f6c82
commit 3ea455d6e0
3 changed files with 4 additions and 4 deletions

View File

@ -101,7 +101,7 @@ class QbittorrentModule(_ModuleBase):
ret_torrents = []
if hashs:
# 按Hash获取
torrents, _ = self.qbittorrent.get_torrents(ids=hashs)
torrents, _ = self.qbittorrent.get_torrents(ids=hashs, tags=settings.TORRENT_TAG)
for torrent in torrents:
content_path = torrent.get("content_path")
if content_path: