fix downloader logging

This commit is contained in:
jxxghp
2024-03-01 13:01:59 +08:00
parent aaa1704ab6
commit b1392d3e59
3 changed files with 3 additions and 3 deletions

View File

@@ -1653,7 +1653,7 @@ class BrushFlow(_PluginBase):
# 获取种子Hash
torrent_hash = self.qb.get_torrent_id_by_tag(tags=tag)
if not torrent_hash:
logger.error(f"{self._downloader} 获取种子Hash失败")
logger.error(f"{self._downloader} 下载任务添加成功,但获取任务信息失败")
return None
return torrent_hash
elif self._downloader == "transmission":

View File

@@ -712,7 +712,7 @@ class IYUUAutoSeed(_PluginBase):
# 获取种子Hash
torrent_hash = self.qb.get_torrent_id_by_tag(tags=tag)
if not torrent_hash:
logger.error(f"{downloader} 获取种子Hash失败")
logger.error(f"{downloader} 下载任务添加成功,但获取任务信息失败")
return None
return torrent_hash
elif downloader == "transmission":

View File

@@ -518,7 +518,7 @@ class TorrentTransfer(_PluginBase):
# 获取种子Hash
torrent_hash = self.qb.get_torrent_id_by_tag(tags=tag)
if not torrent_hash:
logger.error(f"{downloader} 获取种子Hash失败")
logger.error(f"{downloader} 下载任务添加成功,但获取任务信息失败")
return None
return torrent_hash
elif downloader == "transmission":