mirror of
https://github.com/d0zingcat/MoviePilot-Plugins.git
synced 2026-05-16 15:09:22 +00:00
fix downloader logging
This commit is contained in:
@@ -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":
|
||||
|
||||
@@ -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":
|
||||
|
||||
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user