Skip to content

Commit ae04b5d

Browse files
committed
remove defaults from notifications
1 parent 2dd254c commit ae04b5d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎src/allocation/adapters/notifications.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ def send(self, destination, message):
1111
raise NotImplementedError
1212

1313

14-
DEFAULT_HOST = config.get_email_host_and_port()['host']
15-
DEFAULT_PORT = config.get_email_host_and_port()['port']
1614

1715
class EmailNotifications(AbstractNotifications):
1816

19-
def __init__(self, smtp_host=DEFAULT_HOST, port=DEFAULT_PORT):
17+
def __init__(self, smtp_host, port):
2018
self.server = smtplib.SMTP(smtp_host, port=port)
2119
self.server.noop()
2220

0 commit comments

Comments
 (0)