From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [101.128.125.57]) by gnuweeb.org (Postfix) with ESMTPSA id 83B6B7E317; Tue, 19 Jul 2022 00:18:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1658189906; bh=LviuaCWkYNFXzYtD7jDf3IaFgh+7mHK0nyECIiceWOU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BeXOiswbuBqyJ/8CJXpUJdgcyjvDeAFuiqC++CPsDac3d5lj+ukxVJGOmVoZnpHRK 7RdrEjKfYwYr4k2rjz7/Kc75Z1kFw/ncKsQJ/d5mhphS/daAG2rd0WNTHhNdcl/MwO 7ZEXXPQaPZfiHt5piFjSJ7OWjgTOI5E+W1SxUPs6uBi24wuuZy1mzcxS/Bu4pVFYJ5 PdQigJwDQpvaPsf52jGNfE6yR7CvCCXn7Ujzospv+dhJ3naIsC0aR/py4zSjBvkB5U QjS1gOtlZGkyTC1zRpscA2eEi3Y1zcn7E5+nhndlTvuebjcmMexgUI+eebvSuIzPrV iWG6++7FzGkKQ== From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , GNU/Weeb Mailing List Subject: [PATCH v2 12/18] Fix indentation issue Date: Tue, 19 Jul 2022 07:17:38 +0700 Message-Id: <20220719001744.1950-13-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20220719001744.1950-1-kiizuha@gnuweeb.org> References: <20220719001744.1950-1-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: From: Muhammad Rizki I found indentation issue in packages/client.py where tab and spaces are combined together so I decided to change just 8-tab only. Signed-off-by: Muhammad Rizki --- daemon/packages/client.py | 52 +++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/daemon/packages/client.py b/daemon/packages/client.py index fd5b5ec..bb62c86 100644 --- a/daemon/packages/client.py +++ b/daemon/packages/client.py @@ -5,22 +5,22 @@ from typing import Union, BinaryIO class DaemonClient(Client): - def __init__(self, name: str, api_id: int, - api_hash: str, **kwargs): - super().__init__(name, api_id, - api_hash, **kwargs) + def __init__(self, name: str, api_id: int, + api_hash: str, **kwargs): + super().__init__(name, api_id, + api_hash, **kwargs) - async def send_text_email( - self, - chat_id: Union[int, str], - text: str, - reply_to: int, - url: str = None, - parse_mode: ParseMode = ParseMode.HTML - ) -> Message: - print("[send_text_email]") - return await self.send_message( + async def send_text_email( + self, + chat_id: Union[int, str], + text: str, + reply_to: int, + url: str = None, + parse_mode: ParseMode = ParseMode.HTML + ) -> Message: + print("[send_text_email]") + return await self.send_message( chat_id=chat_id, text=text, reply_to_message_id=reply_to, @@ -34,19 +34,19 @@ class DaemonClient(Client): ) - async def send_patch_email( - self, - chat_id: Union[int, str], - doc: Union[str, BinaryIO], - caption: str, - reply_to: int, - url: str = None, - parse_mode: ParseMode = ParseMode.HTML - ) -> Message: - print("[send_patch_email]") - return await self.send_document( + async def send_patch_email( + self, + chat_id: Union[int, str], + doc: Union[str, BinaryIO], + caption: str, + reply_to: int, + url: str = None, + parse_mode: ParseMode = ParseMode.HTML + ) -> Message: + print("[send_patch_email]") + return await self.send_document( chat_id=chat_id, - document=doc, + document=doc, caption=caption, reply_to_message_id=reply_to, parse_mode=parse_mode, -- Muhammad Rizki