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