photo_bot: тест-мод — текст поиска лица
This commit is contained in:
@@ -314,7 +314,8 @@ async def photo_module_handler(msg: Message):
|
||||
file_id = getattr(msg.content, "file_id", 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:
|
||||
downloaded_file = await states.tc_bot.download_file_by_id(file_id)
|
||||
|
||||
Reference in New Issue
Block a user