修复无法入库消息发送到 Telegram 时格式异常

This commit is contained in:
EkkoG 2023-12-11 17:51:21 +08:00
parent 1323cd5dc6
commit d5eb12cc4e

View File

@ -259,8 +259,8 @@ class TransferChain(ChainBase):
) )
self.post_message(Notification( self.post_message(Notification(
mtype=NotificationType.Manual, mtype=NotificationType.Manual,
title=f"{file_path.name} 未识别到媒体信息,无法入库!\n" title=f"{file_path.name} 未识别到媒体信息,无法入库!",
f"回复:```\n/redo {his.id} [tmdbid]|[类型]\n``` 手动识别转移。" text=f"回复:```\n/redo {his.id} [tmdbid]|[类型]\n``` 手动识别转移。"
)) ))
# 计数 # 计数
processed_num += 1 processed_num += 1