diff --git a/bot.py b/bot.py index 290d7d2..aece578 100644 --- a/bot.py +++ b/bot.py @@ -123,7 +123,7 @@ def select_option_callback_handler(call): question = find_question(test, q) answer_reply = check_answer(question, answer) bot.answer_callback_query(call.id, answer_reply) - if answer_reply: + if answer_reply == '✅ Correcto': question = find_question(test, eval(q+'+1')) keyboard = generate_test_keyboard(question, test) txt = "Test: {}\nPregunta: {}\n\n{}"