Show More
@@ -96,6 +96,7 b' def domain(author):' | |||||
96 |
|
96 | |||
97 | def person(author): |
|
97 | def person(author): | |
98 | '''get name of author, or else username.''' |
|
98 | '''get name of author, or else username.''' | |
|
99 | if not '@' in author: return author | |||
99 | f = author.find('<') |
|
100 | f = author.find('<') | |
100 | if f == -1: return util.shortuser(author) |
|
101 | if f == -1: return util.shortuser(author) | |
101 | return author[:f].rstrip() |
|
102 | return author[:f].rstrip() |
General Comments 0
You need to be logged in to leave comments.
Login now