From e921dcfc4ff55a2aab6bb65c2fa073d5d622cd3e 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: Mon, 20 Jul 2026 18:11:20 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20texts.py=20=D1=82=D1=80=D0=BE=D0=B9?= =?UTF-8?q?=D0=BD=D0=B0=D1=8F=20=D0=BA=D0=B0=D0=B2=D1=8B=D1=87=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=B8=20instruct/handlers.py=20missing=20router?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- instruct/handlers.py | 1 + utils/texts.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/instruct/handlers.py b/instruct/handlers.py index 9fe6c57..576878b 100644 --- a/instruct/handlers.py +++ b/instruct/handlers.py @@ -16,6 +16,7 @@ from utils.texts import ( # SETUP # ======================================== log_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'logs') +router = Router() os.makedirs(log_dir, exist_ok=True) instruct_logger = logging.getLogger('instruct') instruct_logger.setLevel(logging.INFO) diff --git a/utils/texts.py b/utils/texts.py index 40ef392..db7c4c3 100644 --- a/utils/texts.py +++ b/utils/texts.py @@ -41,8 +41,6 @@ def _footer_main_only(emojis: dict) -> str: return f"\n\n{emojis['0']} — В главное меню""" """ - -# ========================================================= # TRANSCRIPTION BOT # ========================================================= # Модуль для расшифровки аудио и видео файлов