diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2014-09-05 10:18:05 +0200 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2014-09-05 10:18:05 +0200 |
commit | 41e76814be86ac45190c2ace1d02fdd827d6c88e (patch) | |
tree | df09dbc12714e9e4900c56dab2a0cd0bef44070d /py-fake-service/app/adapter/contacts.py | |
parent | 8e653650300948f9bfd91619795ac840d52e73a5 (diff) |
Fixed functional tests.
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 f241de98..19debdf1 100644 --- a/py-fake-service/app/adapter/contacts.py +++ b/py-fake-service/app/adapter/contacts.py @@ -22,7 +22,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): |