From 35ea2a2b7e768c13da6841490109e09dd56b5f65 Mon Sep 17 00:00:00 2001 From: eternnoir Date: Fri, 3 Aug 2018 08:34:21 +0800 Subject: [PATCH] Fix #548 --- telebot/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/telebot/__init__.py b/telebot/__init__.py index fd8ed16..f520ead 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -1295,7 +1295,6 @@ class TeleBot: self._exec_task(handler["callback"], message, *handler["args"], **handler["kwargs"]) new_messages.pop(i) # removing message that detects with next_step_handler was_poped = True - new_messages.pop(i) # removing message that detects with next_step_handler if self.next_step_saver is not None: self.next_step_saver.start_save_timer() if (not was_poped):