Browse Source

Удаление элементов поправлено #11

order_cat
parent
commit
39b5e3c97d
  1. 2
      bot_modules/mod_table_operate.py

2
bot_modules/mod_table_operate.py

@ -105,7 +105,7 @@ class TableOperateModule(mod_simple_message.SimpleMessageModule):
return self.GetButtonNameAndKeyValueAndAccess(a_Item)
self.m_GetButtonNameAndKeyValueAndAccessFunc = GetButtonNameAndKeyValueAndAccess
async def PreDelete(a_CallbackQuery, a_Item, a_None):
async def PreDelete(a_CallbackQuery, a_Item, a_None, table_name = self.m_Table.GetName()):
return await self.PreDelete(a_CallbackQuery, a_Item, a_None)
self.m_PreDeleteFunc = PreDelete

Loading…
Cancel
Save