Skip to content

Commit 5489b54

Browse files
authored
Merge pull request #1 from echarlie/mail_prefered
mail -> mailPreferredAddress
2 parents 98405c6 + f591c24 commit 5489b54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ def search(query):
9898
if hasattr(entry, 'localPhone'):
9999
row(rows, 'Phone Number', entry.localPhone)
100100

101-
if hasattr(entry, 'mail'):
102-
row(rows, 'Email Address', entry.mail)
101+
if hasattr(entry, 'mailPreferredAddress'):
102+
row(rows, 'Email Address', entry.mailPreferredAddress)
103103

104104
print("\n".join(rows))
105105
print()

0 commit comments

Comments
 (0)