|
|
|
@ -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: |
|
|
|
|