diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-01-21 20:43:16 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-01-21 20:43:16 +0700 |
commit | a632a4ccc505876144ae6ca8b3fd68cdf4bdb64a (patch) | |
tree | 329eba51d2763df5fcb050b5e07104a67221b595 /src | |
parent | 31dcce4812a6aac8dc4980c1c4e392477748a70f (diff) | |
download | formbox-a632a4ccc505876144ae6ca8b3fd68cdf4bdb64a.tar.gz |
Stop adding spaces to author name 0.4.1
Diffstat (limited to 'src')
-rwxr-xr-x | src/formbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formbox.py b/src/formbox.py index 0be3093..3943401 100755 --- a/src/formbox.py +++ b/src/formbox.py @@ -75,7 +75,7 @@ def render(template, archive, parent): if body is None: continue message_id = self['Message-Id'] # Please don't have space in email addresses - author = ' '.join(decode(self['From'])).rsplit(maxsplit=1)[0] + author = ''.join(decode(self['From'])).rsplit(maxsplit=1)[0] rendered_children = render(template, archive, message_id) yield template.format(in_reply_to=quote(parent), message_id=quote(message_id), author=author, |