From ba3203865ff19f2e561a4717302160352a5c5475 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 20 Jan 2018 19:40:09 +0100 Subject: [PATCH] Move starred expressions at the end --- pyrogram/client/client.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 49d45be0..c8985896 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -604,10 +604,10 @@ class Client: file=file, ttl_seconds=ttl_seconds ), - **self.markdown.parse(caption), silent=disable_notification or None, reply_to_msg_id=reply_to_message_id, - random_id=self.rnd_id() + random_id=self.rnd_id(), + **self.markdown.parse(caption) ) ) except FilePartMissing as e: @@ -682,10 +682,10 @@ class Client: types.DocumentAttributeFilename(os.path.basename(audio)) ] ), - **self.markdown.parse(caption), silent=disable_notification or None, reply_to_msg_id=reply_to_message_id, - random_id=self.rnd_id() + random_id=self.rnd_id(), + **self.markdown.parse(caption) ) ) except FilePartMissing as e: @@ -741,10 +741,10 @@ class Client: types.DocumentAttributeFilename(os.path.basename(document)) ] ), - **self.markdown.parse(caption), silent=disable_notification or None, reply_to_msg_id=reply_to_message_id, - random_id=self.rnd_id() + random_id=self.rnd_id(), + **self.markdown.parse(caption) ) ) except FilePartMissing as e: @@ -816,10 +816,10 @@ class Client: ) ] ), - **self.markdown.parse(caption), silent=disable_notification or None, reply_to_msg_id=reply_to_message_id, - random_id=self.rnd_id() + random_id=self.rnd_id(), + **self.markdown.parse(caption) ) ) except FilePartMissing as e: @@ -882,10 +882,10 @@ class Client: ) ] ), - **self.markdown.parse(caption), silent=disable_notification or None, reply_to_msg_id=reply_to_message_id, - random_id=self.rnd_id() + random_id=self.rnd_id(), + **self.markdown.parse(caption) ) ) except FilePartMissing as e: