summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2018-06-18 09:43:20 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2018-06-18 09:43:20 +0100
commite491d1974f1d4c20c10bf238b2a31d5106739634 (patch)
treee7e5b2262a45d0261fbb8f2f9577100df4dea75b /alot
parente14488f10e0c75725e58c5fd7d83f9b6d5b90c53 (diff)
fix encoding issue in thread.PrintCommand
fixes #1244
Diffstat (limited to 'alot')
-rw-r--r--alot/commands/thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index 354ddd3d..bb90a5d8 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -756,7 +756,7 @@ class PipeCommand(Command):
headertext = extract_headers(mail)
bodytext = extract_body(mail, field_key=self.field_key)
msgtext = '%s\n\n%s' % (headertext, bodytext)
- pipestrings.append(msgtext.encode('utf-8'))
+ pipestrings.append(msgtext)
if not self.separately:
pipestrings = [separator.join(pipestrings)]