diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2018-02-26 09:50:11 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-03-01 10:34:56 -0800 |
commit | 39c952b21612d24418e482568e1e9c8b373f721a (patch) | |
tree | 1e4e4522b86c5fdc28ce3452da29813fd020e3af /alot | |
parent | 5accb4cbcac5d6eff67622a2c99a164a4500e22b (diff) |
fix completions for py3k
Diffstat (limited to 'alot')
-rw-r--r-- | alot/completion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/completion.py b/alot/completion.py index 48824909..e338ee0b 100644 --- a/alot/completion.py +++ b/alot/completion.py @@ -277,7 +277,7 @@ class AccountCompleter(StringlistCompleter): def __init__(self, **kwargs): accounts = settings.get_accounts() - resultlist = [email.utils.formataddr((a.realname, a.address)) + resultlist = [email.utils.formataddr((a.realname, str(a.address))) for a in accounts] StringlistCompleter.__init__(self, resultlist, match_anywhere=True, **kwargs) |