1
0
Fork 0

Made black happy

This commit is contained in:
Casey 2022-08-31 18:36:11 +03:00
parent 366a357643
commit 093337414b
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 3 additions and 3 deletions

View File

@ -58,9 +58,9 @@ class TelegramIntegration(BaseIntegration):
self.token = sect.get("token", "") self.token = sect.get("token", "")
self.chat_id = sect.get("chat", "") self.chat_id = sect.get("chat", "")
self.silent = sect.getboolean("silent", True) self.silent = sect.getboolean("silent", True)
self.template: Template = Template(emojize( self.template: Template = Template(
sect.get("template", DEFAULT_TEMPLATE) emojize(sect.get("template", DEFAULT_TEMPLATE))
)) )
async def _tg_request(self, method: str, **kwargs) -> TGResponse: async def _tg_request(self, method: str, **kwargs) -> TGResponse:
url = API_URL.format(self.token, method) url = API_URL.format(self.token, method)