removed skipped updates counter

This commit is contained in:
Oleg A 2018-12-05 01:28:21 +03:00
parent 660aba50ee
commit 42d1e875a5

View file

@ -338,10 +338,8 @@ class Executor:
async def _skip_updates(self):
await self.dispatcher.reset_webhook(True)
count = await self.dispatcher.skip_updates()
if count:
log.warning(f"Skipped {count} updates.")
return count
await self.dispatcher.skip_updates()
log.warning(f"Updates are skipped successfully.")
async def _welcome(self):
user = await self.dispatcher.bot.me