summaryrefslogtreecommitdiff
path: root/alot/db.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/db.py')
-rw-r--r--alot/db.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/alot/db.py b/alot/db.py
index e27815e7..08ccbaed 100644
--- a/alot/db.py
+++ b/alot/db.py
@@ -509,7 +509,10 @@ class Thread(object):
aname = "me"
if not aname:
aname = aaddress
- authorslist.append(aname)
+ try:
+ authorslist.index(aname)
+ except ValueError:
+ authorslist.append(aname)
return ', '.join(authorslist)
else:
return self._nm_authors_string