You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2017/01/29 13:53:09 UTC
incubator-ponymail git commit: firstHTML must be None at this point
Repository: incubator-ponymail
Updated Branches:
refs/heads/master 257fb336e -> f825b3615
firstHTML must be None at this point
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/f825b361
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/f825b361
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/f825b361
Branch: refs/heads/master
Commit: f825b36156db3d1380029daee2f4b95f2b3b7730
Parents: 257fb33
Author: Sebb <se...@apache.org>
Authored: Sun Jan 29 13:53:03 2017 +0000
Committer: Sebb <se...@apache.org>
Committed: Sun Jan 29 13:53:03 2017 +0000
----------------------------------------------------------------------
tools/archiver.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/f825b361/tools/archiver.py
----------------------------------------------------------------------
diff --git a/tools/archiver.py b/tools/archiver.py
index 48c4d22..3fa98f2 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -231,7 +231,7 @@ class Archiver(object):
body = msg.get_payload(decode=True)
elif msg.get_content_type() == 'text/enriched':
body = msg.get_payload(decode=True)
- elif self.html and msg.get_content_type() == 'text/html' and not firstHTML:
+ elif self.html and msg.get_content_type() == 'text/html':
firstHTML = msg.get_payload(decode=True)
# this requires a GPL lib, user will have to install it themselves