fix: restore missing router = Router() declaration
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user