From bb8fbdc66b4ad1744dd52f55c581553d67b9f089 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 16 Aug 2023 14:57:11 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E6=94=B9=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=80=9A=E7=9F=A5=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chain/download.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/chain/download.py b/app/chain/download.py index ecd27ca9..83a6986a 100644 --- a/app/chain/download.py +++ b/app/chain/download.py @@ -83,7 +83,7 @@ class DownloadChain(ChainBase): logger.error(f"下载种子文件失败:{torrent.title} - {torrent.enclosure}") self.post_message(Notification( channel=channel, - mtype=NotificationType.Download, + mtype=NotificationType.Manual, title=f"{torrent.title} 种子下载失败!", text=f"错误信息:{error_msg}\n种子链接:{torrent.enclosure}", userid=userid)) @@ -168,7 +168,7 @@ class DownloadChain(ChainBase): f"{_torrent.title} - {_torrent.enclosure},{error_msg}") self.post_message(Notification( channel=channel, - mtype=NotificationType.Download, + mtype=NotificationType.Manual, title="添加下载任务失败:%s %s" % (_media.title_year, _meta.season_episode), text=f"站点:{_torrent.site_name}\n"