diff options
author | Daniel <quite@hack.org> | 2012-03-02 14:22:51 +0100 |
---|---|---|
committer | Daniel <quite@hack.org> | 2012-03-02 21:07:02 +0100 |
commit | 0878644b05c7d6d02e30be970044c943f226ab8b (patch) | |
tree | 294ccd40a4b579e783e1b9bc202c4b752edafdde /alot/db.py | |
parent | 85d06c48bcaa0828d27cadeba66fc38aa63b100f (diff) |
Unique author names in the resulting string
Diffstat (limited to 'alot/db.py')
-rw-r--r-- | alot/db.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |