Removed unused part in continue_or_finish

This commit is contained in:
Joan
2023-03-19 01:36:51 +01:00
parent e88dd77ba2
commit 0fd3c6b334

View File

@@ -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()))