更新 __init__.py
This commit is contained in:
parent
4f7e302507
commit
47395ea51a
@ -92,7 +92,7 @@ class QbittorrentModule(_ModuleBase):
|
||||
:return: 下载器中符合状态的种子列表
|
||||
"""
|
||||
if status == TorrentStatus.TRANSFER:
|
||||
torrents = self.qbittorrent.get_transfer_torrents(tag=settings.TORRENT_TAG)
|
||||
torrents = self.qbittorrent.get_transfer_torrents(tag=settings.TORRENT_TAG or None)
|
||||
else:
|
||||
return None
|
||||
return torrents
|
||||
|
Loading…
x
Reference in New Issue
Block a user