mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-18 19:16:43 +00:00
Add missing parenthesis around await
This commit is contained in:
parent
0f14f3b16a
commit
179af9894f
@ -65,7 +65,7 @@ class EventBuilder(abc.ABC):
|
|||||||
async def resolve(self, client):
|
async def resolve(self, client):
|
||||||
"""Helper method to allow event builders to be resolved before usage"""
|
"""Helper method to allow event builders to be resolved before usage"""
|
||||||
self.chats = await _into_id_set(client, self.chats)
|
self.chats = await _into_id_set(client, self.chats)
|
||||||
self._self_id = await client.get_me(input_peer=True).user_id
|
self._self_id = (await client.get_me(input_peer=True)).user_id
|
||||||
|
|
||||||
def _filter_event(self, event):
|
def _filter_event(self, event):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user