From ee4061561ec32f10756fd61a2eb8677825abfae1 Mon Sep 17 00:00:00 2001 From: eternnoir Date: Fri, 21 Aug 2015 22:58:48 +0800 Subject: [PATCH] Fix #61 --- telebot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/__init__.py b/telebot/__init__.py index 0528340..1fbe0ae 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -367,7 +367,7 @@ class TeleBot: """ chat_id = message.chat.id if chat_id in self.message_subscribers_next_step: - self.message_subscribers_next_step.append(callback) + self.message_subscribers_next_step[chat_id].append(callback) else: self.message_subscribers_next_step[chat_id] = [callback]