From 8b4c9930346fa3060ba3bfe68d4570df33a2101f Mon Sep 17 00:00:00 2001 From: Zaid _ Date: Thu, 20 Jun 2024 19:46:44 +0300 Subject: [PATCH] fix --- eduu/plugins/custom_filters.py | 2 +- eduu/plugins/notes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eduu/plugins/custom_filters.py b/eduu/plugins/custom_filters.py index 0b492e8974..feaebfa29f 100644 --- a/eduu/plugins/custom_filters.py +++ b/eduu/plugins/custom_filters.py @@ -45,7 +45,7 @@ async def save_filter(c: Client, m: Message, s: Strings): ): file_id = getattr(m.reply_to_message, m.reply_to_message.media.value).file_id raw_data = ( - m.reply_to_message.caption.html if m.reply_to_message.caption is not None else None + m.reply_to_message.caption.markdown if m.reply_to_message.caption is not None else None ) filter_type = m.reply_to_message.media.value elif m.reply_to_message and m.reply_to_message.sticker: diff --git a/eduu/plugins/notes.py b/eduu/plugins/notes.py index d44ecaedc2..745d2af214 100644 --- a/eduu/plugins/notes.py +++ b/eduu/plugins/notes.py @@ -40,7 +40,7 @@ async def save_note(c: Client, m: Message, s: Strings): ): file_id = getattr(m.reply_to_message, m.reply_to_message.media.value).file_id raw_data = ( - m.reply_to_message.caption.html if m.reply_to_message.caption is not None else None + m.reply_to_message.caption.markdown if m.reply_to_message.caption is not None else None ) note_type = m.reply_to_message.media.value elif m.reply_to_message and m.reply_to_message.sticker: