summaryrefslogtreecommitdiff
path: root/alot/completion.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/completion.py')
-rw-r--r--alot/completion.py2
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)