From 8e8196df181a77b7aaa2f3fc481915ac6819880b Mon Sep 17 00:00:00 2001 From: Anton Date: Sun, 10 Sep 2023 22:40:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=84=D0=BE=D1=82=D0=BE=20=D1=85=D0=BE=D1=80?= =?UTF-8?q?=D0=BE=D1=88=D0=B5=D0=B3=D0=BE=20=D0=BA=D0=B0=D1=87=D0=B5=D1=81?= =?UTF-8?q?=D1=82=D0=B2=D0=B0=20#5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/bd_item_add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/bd_item_add.py b/template/bd_item_add.py index 54c6960..542e14e 100644 --- a/template/bd_item_add.py +++ b/template/bd_item_add.py @@ -82,7 +82,7 @@ def FinishOrNextAddBDItemTemplate(a_Bot, a_FSM, a_AddBDItemFunc, a_ParentTableNa if a_Message.photo == None or len(a_Message.photo) == 0: await state.finish() return simple_message.WorkFuncResult(bot_messages.MakeBotMessage(error_photo_type_message), keyboard_func = a_FinishButtonFunc) - field_value = a_Message.photo[0].file_id + field_value = a_Message.photo[-1].file_id else: result = a_Message.text if a_PostProcessFunc: