summaryrefslogtreecommitdiff
path: root/alot/buffers.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-12-04 14:37:25 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2011-12-04 14:37:25 +0000
commit434b6ced7299c7881196dfe56a707bf3fcefd5b4 (patch)
treee1ea17539d4ebcceee8bb7e69d413d85206460db /alot/buffers.py
parent0a35a2bf8c49b08ae97bcfdeb66384b979c35a46 (diff)
delay encoding of header values
.. from `commands.globals.compose` to `Envelope.construct_message`. This ensures that no newlines are introduced before editing the mail template. issue #135
Diffstat (limited to 'alot/buffers.py')
-rw-r--r--alot/buffers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/buffers.py b/alot/buffers.py
index 64a069a8..71e07084 100644
--- a/alot/buffers.py
+++ b/alot/buffers.py
@@ -104,7 +104,7 @@ class EnvelopeBuffer(Buffer):
lines = []
for (k, v) in self.envelope.headers.items():
if (k not in hidden) or self.all_headers:
- lines.append((k, decode_header(v)))
+ lines.append((k, v))
self.header_wgt = widgets.HeadersList(lines)
displayed_widgets.append(self.header_wgt)