From b1392d3e59ebde8066da296de7d46fb2088469da Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 1 Mar 2024 13:01:59 +0800 Subject: [PATCH] fix downloader logging --- plugins/brushflow/__init__.py | 2 +- plugins/iyuuautoseed/__init__.py | 2 +- plugins/torrenttransfer/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/brushflow/__init__.py b/plugins/brushflow/__init__.py index a5968fe..147b639 100644 --- a/plugins/brushflow/__init__.py +++ b/plugins/brushflow/__init__.py @@ -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": diff --git a/plugins/iyuuautoseed/__init__.py b/plugins/iyuuautoseed/__init__.py index 11f1ec3..7ce742b 100644 --- a/plugins/iyuuautoseed/__init__.py +++ b/plugins/iyuuautoseed/__init__.py @@ -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": diff --git a/plugins/torrenttransfer/__init__.py b/plugins/torrenttransfer/__init__.py index 30916f7..ccedaa9 100644 --- a/plugins/torrenttransfer/__init__.py +++ b/plugins/torrenttransfer/__init__.py @@ -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":