From e63b915ec265bc7123a5e5acfb9fbf68f2af71c4 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 7 Jun 2019 18:51:04 +0200 Subject: [PATCH] Fix trailing commas breaking older Python versions --- pyrogram/client/types/messages_and_media/animation.py | 2 +- pyrogram/client/types/messages_and_media/audio.py | 2 +- pyrogram/client/types/messages_and_media/document.py | 2 +- pyrogram/client/types/messages_and_media/stripped_thumbnail.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyrogram/client/types/messages_and_media/animation.py b/pyrogram/client/types/messages_and_media/animation.py index 2a9c9e66..5441a114 100644 --- a/pyrogram/client/types/messages_and_media/animation.py +++ b/pyrogram/client/types/messages_and_media/animation.py @@ -72,7 +72,7 @@ class Animation(Object): mime_type: str = None, file_size: int = None, date: int = None, - thumbs: List[Thumbnail] = None, + thumbs: List[Thumbnail] = None ): super().__init__(client) diff --git a/pyrogram/client/types/messages_and_media/audio.py b/pyrogram/client/types/messages_and_media/audio.py index d6324e83..3d9cf8a6 100644 --- a/pyrogram/client/types/messages_and_media/audio.py +++ b/pyrogram/client/types/messages_and_media/audio.py @@ -74,7 +74,7 @@ class Audio(Object): date: int = None, performer: str = None, title: str = None, - thumbs: List[Thumbnail] = None, + thumbs: List[Thumbnail] = None ): super().__init__(client) diff --git a/pyrogram/client/types/messages_and_media/document.py b/pyrogram/client/types/messages_and_media/document.py index 023e4204..45994e16 100644 --- a/pyrogram/client/types/messages_and_media/document.py +++ b/pyrogram/client/types/messages_and_media/document.py @@ -60,7 +60,7 @@ class Document(Object): mime_type: str = None, file_size: int = None, date: int = None, - thumbs: List[Thumbnail] = None, + thumbs: List[Thumbnail] = None ): super().__init__(client) diff --git a/pyrogram/client/types/messages_and_media/stripped_thumbnail.py b/pyrogram/client/types/messages_and_media/stripped_thumbnail.py index 4dbeb7d1..1c967042 100644 --- a/pyrogram/client/types/messages_and_media/stripped_thumbnail.py +++ b/pyrogram/client/types/messages_and_media/stripped_thumbnail.py @@ -35,7 +35,7 @@ class StrippedThumbnail(Object): self, *, client: "pyrogram.BaseClient" = None, - data: bytes, + data: bytes ): super().__init__(client)