Skip to content

Commit

Permalink
Merge pull request #901 from xunam/fix-backslash-t
Browse files Browse the repository at this point in the history
Removed incorrect backslash-t substitution in envelope.
  • Loading branch information
pazz committed Dec 6, 2016
2 parents 9841422 + 983c462 commit 8774731
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion alot/db/envelope.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ def construct_mail(self):
# Build body text part. To properly sign/encrypt messages later on, we
# convert the text to its canonical format (as per RFC 2015).
canonical_format = self.body.encode('utf-8')
canonical_format = canonical_format.replace('\\t', ' ' * 4)
textpart = MIMEText(canonical_format, 'plain', 'utf-8')

# wrap it in a multipart container if necessary
Expand Down

0 comments on commit 8774731

Please sign in to comment.