From a189c361d2dd87492b7f1df2fc0350668fef2b55 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: Fri, 31 Jul 2026 00:40:39 +0700 Subject: [PATCH] fix: restore missing router = Router() declaration --- transcription_bot/handlers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/transcription_bot/handlers.py b/transcription_bot/handlers.py index 58cf4d5..16361e3 100644 --- a/transcription_bot/handlers.py +++ b/transcription_bot/handlers.py @@ -56,6 +56,8 @@ def _transcription_log_and_notify_email(action: str, error_details: str): import time from datetime import datetime +router = Router() + # ✅ Полный список разрешенных расширений (Аудио, Видео, Проф. форматы) ALLOWED_EXTENSIONS = [ # Аудио @@ -158,3 +160,4 @@ async def transcription_handler(msg: Message): await msg.answer(UNKNOWN_MAIN_CMD_TEXT, parse_mode="html") +