diff --git a/atst/app.py b/atst/app.py index 9e772e56..715e93ba 100644 --- a/atst/app.py +++ b/atst/app.py @@ -182,7 +182,7 @@ def make_mailer(app): port=app.config.get("MAIL_PORT"), username=app.config.get("MAIL_SENDER"), password=app.config.get("MAIL_PASSWORD"), - use_tls=app.config.get("MAIL_TLS") + use_tls=app.config.get("MAIL_TLS"), ) sender = app.config.get("MAIL_SENDER") app.mailer = mailer.Mailer(mailer_connection, sender) diff --git a/atst/utils/mailer.py b/atst/utils/mailer.py index 0e3995a1..52cd209c 100644 --- a/atst/utils/mailer.py +++ b/atst/utils/mailer.py @@ -4,7 +4,6 @@ from email.message import EmailMessage class MailConnection(object): - def send(self, message): raise NotImplementedError() @@ -63,7 +62,6 @@ class RedisConnection(MailConnection): class Mailer(object): - def __init__(self, connection, sender): self.connection = connection self.sender = sender