Remove forgotten points

This commit is contained in:
Andrey Egorov
2017-10-29 15:33:03 +03:00
parent 6dc0ee9d6c
commit cb2d943139
3 changed files with 3 additions and 5 deletions

View File

@@ -693,7 +693,7 @@ class TelegramBareClient:
"""
self.updates.process(await self(GetStateRequest()))
async def add_update_handler(self, handler):
def add_update_handler(self, handler):
"""Adds an update handler (a function which takes a TLObject,
an update, as its parameter) and listens for updates"""
self.updates.handlers.append(handler)