diff --git a/bot_modules/mod_table_operate.py b/bot_modules/mod_table_operate.py index b68d56c..1753bf4 100644 --- a/bot_modules/mod_table_operate.py +++ b/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