Formatting

This commit is contained in:
richard-dds 2019-05-15 10:04:31 -04:00
parent df7f72245a
commit d3b42d5bfc

View File

@ -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_):