diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-01-23 12:49:33 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-01-23 12:49:33 +0000 |
commit | 524bcb2a6594914248577f6cb0d9146bf216cd62 (patch) | |
tree | 5131fa3c1bbb4adc8c98b98b654dedfbed6e743d /alot/account.py | |
parent | e4419fd3648f29ec2ad7def147d67d3acabef8c9 (diff) |
fix: contact completion for contacts w/o name
If the a contact (a pair of strings name, address) has no name,
then propose the address only instead of some strange `"" <address>`.
Moreover, don't strip the namestring but use as is.
Diffstat (limited to 'alot/account.py')
-rw-r--r-- | alot/account.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/account.py b/alot/account.py index b1387c2a..f5584272 100644 --- a/alot/account.py +++ b/alot/account.py @@ -382,6 +382,6 @@ class MatchSdtoutAddressbook(AddressBook): if m: info = m.groupdict() email = info['email'].strip() - name = info['name'].strip() + name = info['name'] res.append((name, email)) return res |