From bc7d29237d40dba92c3cbd1254b3d2561b313814 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 25 Sep 2019 18:41:06 +0200 Subject: [PATCH] Small style fix --- pyrogram/client/client.py | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index cb1abcaa..a0bf5af5 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -1881,19 +1881,23 @@ class Client(Methods, BaseClient): for session in pool: await session.stop() - async def get_file(self, media_type: int, - dc_id: int, - document_id: int, - access_hash: int, - thumb_size: str, - peer_id: int, - peer_access_hash: int, volume_id: int, - local_id: int, - file_ref: str,file_size: int, - - is_big: bool, - progress: callable, - progress_args: tuple = ()) -> str: + async def get_file( + self, + media_type: int, + dc_id: int, + document_id: int, + access_hash: int, + thumb_size: str, + peer_id: int, + peer_access_hash: int, + volume_id: int, + local_id: int, + file_ref: str, + file_size: int, + is_big: bool, + progress: callable, + progress_args: tuple = () + ) -> str: async with self.media_sessions_lock: session = self.media_sessions.get(dc_id, None)