Telegram - Fix update offset
This commit is contained in:
parent
54ccc36a4a
commit
596d5df0b0
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ async def handle_commands(commands=commands):
|
||||||
logger.exception('Problem while executing a command')
|
logger.exception('Problem while executing a command')
|
||||||
|
|
||||||
break
|
break
|
||||||
offset = update['update_id'] + 1
|
offset = update['update_id'] + 1
|
||||||
else:
|
else:
|
||||||
logger.warning("getUpdates was not ok {}".format(update))
|
logger.warning("getUpdates was not ok {}".format(update))
|
||||||
await asyncio.sleep(30)
|
await asyncio.sleep(30)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue