From 093337414b4fae58bb4658b254614db07674d81f Mon Sep 17 00:00:00 2001 From: hkc Date: Wed, 31 Aug 2022 18:36:11 +0300 Subject: [PATCH] Made black happy --- mastoposter/integrations/telegram.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mastoposter/integrations/telegram.py b/mastoposter/integrations/telegram.py index 28da238..03beba4 100644 --- a/mastoposter/integrations/telegram.py +++ b/mastoposter/integrations/telegram.py @@ -58,9 +58,9 @@ class TelegramIntegration(BaseIntegration): self.token = sect.get("token", "") self.chat_id = sect.get("chat", "") self.silent = sect.getboolean("silent", True) - self.template: Template = Template(emojize( - sect.get("template", DEFAULT_TEMPLATE) - )) + self.template: Template = Template( + emojize(sect.get("template", DEFAULT_TEMPLATE)) + ) async def _tg_request(self, method: str, **kwargs) -> TGResponse: url = API_URL.format(self.token, method)