From 486e58d3f484cc18272ddd4626c87bb64e494888 Mon Sep 17 00:00:00 2001 From: Nikita Aksenov Date: Wed, 14 May 2025 15:45:58 +0300 Subject: [PATCH] double space fixed --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index f625cf7..574cdd7 100644 --- a/main.py +++ b/main.py @@ -115,7 +115,7 @@ def get_message_text() -> str: return nonlocal text - REPLACE_PATTERN = re.compile(rf'^\[{replace_name}\]', flags=re.IGNORECASE) + REPLACE_PATTERN = re.compile(rf'^\[{replace_name}\] ', flags=re.IGNORECASE) if category_name: text += f"\n{category_name}:\n\n"