diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2014-08-21 14:35:12 +0200 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2014-08-21 14:35:12 +0200 |
commit | 4a6028ef895034f93b6f8aedd898f1e1542e98b1 (patch) | |
tree | 61e686a04b55028deb534f1c51e639af73aa572a /py-fake-service/app/adapter/contacts.py | |
parent | e7fd4d55992f1cb2f94b9b591f717158930889f5 (diff) |
fake service now supports mbox and RFC-2822 mails.
Diffstat (limited to 'py-fake-service/app/adapter/contacts.py')
-rw-r--r-- | py-fake-service/app/adapter/contacts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py-fake-service/app/adapter/contacts.py b/py-fake-service/app/adapter/contacts.py index 5c55b8b1..f997b527 100644 --- a/py-fake-service/app/adapter/contacts.py +++ b/py-fake-service/app/adapter/contacts.py @@ -7,7 +7,7 @@ class Contacts: self.contacts = [] def add(self, mbox_mail): - contact = mbox_mail.get_from() + contact = mbox_mail.from_addr self.contacts.append(Contact(contact)) def search(self, query): |