From d742c268819a78bb6df98d010b89afe8ac357410 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 28 Mar 2017 22:48:53 +0200 Subject: [PATCH] Probably fixed #2 --- telegram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegram.py b/telegram.py index d51b5085..b7569ed9 100644 --- a/telegram.py +++ b/telegram.py @@ -63,7 +63,7 @@ class Bot: self.updates.append(Update(update)) except NotImplementedError: pass - if len(data) > 0: + if len(self.updates) > 0: self.offset = self.updates[-1].update_id + 1 async def parse_update(self, update):