diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2016-02-19 10:47:15 +0100 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2016-02-19 10:47:15 +0100 |
commit | a6202acbb44162e867f107a9cf262d95a41e4347 (patch) | |
tree | 1bf9eaa15d6fa4daf692706dff7305f36266baa4 /service/pixelated/resources | |
parent | 25c0d507088e231274aef8c5fb1e86d3371f28ae (diff) |
Fixed arity of two event callbacks
Diffstat (limited to 'service/pixelated/resources')
-rw-r--r-- | service/pixelated/resources/mails_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/resources/mails_resource.py b/service/pixelated/resources/mails_resource.py index 61ada60e..1c322d35 100644 --- a/service/pixelated/resources/mails_resource.py +++ b/service/pixelated/resources/mails_resource.py @@ -121,7 +121,7 @@ class MailsResource(BaseResource): def _register_smtp_error_handler(self): - def on_error(event): + def on_error(event, content): delivery_error_mail = InputMail.delivery_error_template(delivery_address=event.content) self._mail_service.mailboxes.inbox.add(delivery_error_mail) |