From 86085e2feb60af819d11a043241c285ea289333c Mon Sep 17 00:00:00 2001 From: Redume Date: Sat, 26 Apr 2025 14:04:27 +0300 Subject: [PATCH] chore: made line breaks --- utils/inline_query.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/utils/inline_query.py b/utils/inline_query.py index 3d36a2a..7747410 100644 --- a/utils/inline_query.py +++ b/utils/inline_query.py @@ -16,7 +16,12 @@ async def reply(result_id: str, args: list, query: types.InlineQuery) -> None: article = types.InlineQueryResultArticle( id=f"{result_id}_{idx}", - title=re.sub(r'\bChart\b|\[([^\]]+)\]\([^)]+\)', '', title, flags=re.IGNORECASE), + title=re.sub( + r'\bChart\b|\[([^\]]+)\]\([^)]+\)', + '', + title, + flags=re.IGNORECASE + ), thumbnail_url=img, description=description, input_message_content=types.InputTextMessageContent(