summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2018-06-18 12:00:08 +0100
committerGitHub <noreply@github.com>2018-06-18 12:00:08 +0100
commitf52c43cbcc06a426d29da122b7682ba69c38c22e (patch)
treee7e5b2262a45d0261fbb8f2f9577100df4dea75b
parente14488f10e0c75725e58c5fd7d83f9b6d5b90c53 (diff)
parente491d1974f1d4c20c10bf238b2a31d5106739634 (diff)
Merge pull request #1245 from pazz/printfix
fix encoding issue in thread.PrintCommand
-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)]