From 042ef92e98c7bfd1d7d42cb1ca44e9d70614453d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B5=D0=BD=D0=B8=D1=81=20=D0=9A=D1=80=D0=B8=D0=B2?= =?UTF-8?q?=D0=BE=D1=87=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Thu, 30 Jul 2026 14:50:55 +0700 Subject: [PATCH] fix: add .docx extension to email instruction file names --- instruct/handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instruct/handlers.py b/instruct/handlers.py index e1f061d..b23e4ff 100644 --- a/instruct/handlers.py +++ b/instruct/handlers.py @@ -451,8 +451,8 @@ async def instruct_router_handler(msg: Message): await msg.answer(text, parse_mode="html") # Затем отправляем оба документа отдельно for instruct_path, file_name in [ - (GMAIL_ANDROID_INSTRUCT_PATH, "Инструкция Android"), - (APPLE_INSTRUCT_PATH, "Инструкция Apple"), + (GMAIL_ANDROID_INSTRUCT_PATH, "Инструкция Android.docx"), + (APPLE_INSTRUCT_PATH, "Инструкция Apple.docx"), ]: if os.path.isfile(instruct_path): await msg.bot.send_document(