Formatting
This commit is contained in:
parent
df7f72245a
commit
d3b42d5bfc
@ -15,7 +15,10 @@ class NotificationSender(object):
|
||||
def send(self, body, type_=None):
|
||||
recipients = self._get_recipients(type_)
|
||||
self.logger.info(
|
||||
"Sending a notification to these recipients: {}\n\n{}".format(recipients, body))
|
||||
"Sending a notification to these recipients: {}\n\n{}".format(
|
||||
recipients, body
|
||||
)
|
||||
)
|
||||
self.queue.send_mail(recipients, self.EMAIL_SUBJECT, body)
|
||||
|
||||
def _get_recipients(self, type_):
|
||||
|
Loading…
x
Reference in New Issue
Block a user