Removed unused part in continue_or_finish
This commit is contained in:
@@ -195,8 +195,6 @@ async def continue_or_finish(update: Update, context: CallbackContext):
|
|||||||
text='Escoge la categoría', reply_markup=InlineKeyboardMarkup(helpers.create_categories_keyboard(context.user_data['category'])))
|
text='Escoge la categoría', reply_markup=InlineKeyboardMarkup(helpers.create_categories_keyboard(context.user_data['category'])))
|
||||||
context.user_data['last_step'] = 'choose_subcategory'
|
context.user_data['last_step'] = 'choose_subcategory'
|
||||||
return CONTINUE_OR_FINISH
|
return CONTINUE_OR_FINISH
|
||||||
if qd == 'finish_subcategory':
|
|
||||||
pass
|
|
||||||
if qd == 'add_category':
|
if qd == 'add_category':
|
||||||
await context.bot.send_message(chat_id=update.effective_chat.id,
|
await context.bot.send_message(chat_id=update.effective_chat.id,
|
||||||
text='Categoría', reply_markup=InlineKeyboardMarkup(helpers.create_category_keyboard()))
|
text='Categoría', reply_markup=InlineKeyboardMarkup(helpers.create_category_keyboard()))
|
||||||
|
|||||||
Reference in New Issue
Block a user