summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-08-20 10:30:59 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2011-08-20 10:30:59 +0100
commit5b9e0b1ba3495d1498022c5ea06e4981e1a09a1e (patch)
tree282ead0bb80d4f5465df92fdf7500b10442edd6c /alot
parent32101bf8241281ab5b952646e37e3d4099fac5c7 (diff)
reattach unintentionally removed line
Diffstat (limited to 'alot')
-rw-r--r--alot/message.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/alot/message.py b/alot/message.py
index e33105ca..f4cc2f39 100644
--- a/alot/message.py
+++ b/alot/message.py
@@ -264,6 +264,7 @@ def encode_header(key, value):
for entry in rawentries:
m = re.search('\s*(.*)\s+<(.*\@.*\.\w*)>$', entry)
if m: # If a realname part is contained
+ name, address = m.groups()
# try to encode as ascii, if that fails, revert to utf-8
# name must be a unicode string here
header = Header(name)