From 8265ac5a97e487ba690bc832e3c398365f76975f Mon Sep 17 00:00:00 2001 From: Dan Faulknor Date: Fri, 29 Jun 2018 00:26:39 +1200 Subject: [PATCH] Fix for Python 3.6 --- hc/api/management/commands/smtpd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hc/api/management/commands/smtpd.py b/hc/api/management/commands/smtpd.py index 35d10f8c..2df5750c 100644 --- a/hc/api/management/commands/smtpd.py +++ b/hc/api/management/commands/smtpd.py @@ -13,7 +13,7 @@ class Listener(SMTPServer): self.stdout = stdout super(Listener, self).__init__(localaddr, None) - def process_message(self, peer, mailfrom, rcpttos, data): + def process_message(self, peer, mailfrom, rcpttos, data, mail_options=None, rcpt_options=None): to_parts = rcpttos[0].split("@") code = to_parts[0]