From 47956ddbca0b993f0a3d950a24f6e3628eac60ae Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Mon, 9 Sep 2019 19:21:03 +0200 Subject: [PATCH] Fix events.Album and minor docs nit, bump to v1.10.1 --- readthedocs/examples/users.rst | 2 +- telethon/events/album.py | 2 +- telethon/version.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/readthedocs/examples/users.rst b/readthedocs/examples/users.rst index 89c7bd58..500c282d 100644 --- a/readthedocs/examples/users.rst +++ b/readthedocs/examples/users.rst @@ -70,5 +70,5 @@ through :tl:`UploadProfilePhoto`: from telethon.tl.functions.photos import UploadProfilePhotoRequest await client(UploadProfilePhotoRequest( - client.upload_file('/path/to/some/file') + await client.upload_file('/path/to/some/file') ))) diff --git a/telethon/events/album.py b/telethon/events/album.py index 89e26d4e..68e08e7c 100644 --- a/telethon/events/album.py +++ b/telethon/events/album.py @@ -27,7 +27,7 @@ class Album(EventBuilder): super().__init__(chats, blacklist_chats=blacklist_chats, func=func) @classmethod - def build(cls, update, others=None): + def build(cls, update, others=None, self_id=None): if not others: return # We only care about albums which come inside the same Updates diff --git a/telethon/version.py b/telethon/version.py index ee68cafd..8149ecef 100644 --- a/telethon/version.py +++ b/telethon/version.py @@ -1,3 +1,3 @@ # Versions should comply with PEP440. # This line is parsed in setup.py: -__version__ = '1.10.0' +__version__ = '1.10.1'