[IMP] mail_broker_telegram: black, isort, prettier

pull/1305/head
Enric Tobella 2022-11-30 12:32:37 +01:00 committed by Enric Tobella
parent 8308b9dc7e
commit d740f5a410
1 changed files with 4 additions and 1 deletions

View File

@ -181,7 +181,10 @@ class MailBrokerTelegramService(Component):
body += (
'<a target="_blank" href="https://www.google.com/'
'maps/search/?api=1&query=%s,%s">Location</a>'
% (effective_attachment.latitude, effective_attachment.longitude,)
% (
effective_attachment.latitude,
effective_attachment.longitude,
)
)
attachment_data = self._process_telegram_attachment(effective_attachment)
if attachment_data: