diff --git a/telegram.py b/telegram.py index 2d9a7b7..c1883d7 100644 --- a/telegram.py +++ b/telegram.py @@ -122,7 +122,7 @@ async def handle_commands(commands=commands): logger.exception('Problem while executing a command') break - offset = update['update_id'] + 1 + offset = update['update_id'] + 1 else: logger.warning("getUpdates was not ok {}".format(update)) await asyncio.sleep(30)