photo_bot: тест-мод — текст поиска лица

This commit is contained in:
Denis Krivochenko
2026-08-17 16:04:54 +07:00
parent aee2fe8f25
commit 9f49dd3e96
+2 -1
View File
@@ -314,7 +314,8 @@ async def photo_module_handler(msg: Message):
file_id = getattr(msg.content, "file_id", None) file_id = getattr(msg.content, "file_id", None)
raw_bytes = None raw_bytes = None
await msg.answer(PHOTO_PROCESSING_FACE_TEXT, parse_mode="html") face_text = PHOTO_TEST_RECEIVING_TEXT if config.PHOTO_TEST_MODE else PHOTO_PROCESSING_FACE_TEXT
await msg.answer(face_text, parse_mode="html")
try: try:
downloaded_file = await states.tc_bot.download_file_by_id(file_id) downloaded_file = await states.tc_bot.download_file_by_id(file_id)