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(