Browse Source

Fix for Python 3.6

pull/178/head
Dan Faulknor 6 years ago
committed by GitHub
parent
commit
8265ac5a97
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hc/api/management/commands/smtpd.py

+ 1
- 1
hc/api/management/commands/smtpd.py View File

@ -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]


Loading…
Cancel
Save