Unverified Commit 1b20e56b authored by Philipp Winter's avatar Philipp Winter
Browse files

Account for missing keyword arguments.

This seems to be new in Python 3.5.
parent 7cdc8cf5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ LOCAL_SMTP_SERVER_PORT = 2525 # Must be the same as bridgedb's EMAIL_SMTP_PORT


class EmailServer(SMTPServer):
    def process_message(self, peer, mailfrom, rcpttos, data):
    def process_message(self, peer, mailfrom, rcpttos, data, **kwargs):
        ''' Overridden from SMTP server, called whenever a message is received'''
        self.message_queue.put(data)