ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject incubator-ponymail git commit: firstHTML must be None at this point
Date Sun, 29 Jan 2017 13:53:09 GMT
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 <sebb@apache.org>
Authored: Sun Jan 29 13:53:03 2017 +0000
Committer: Sebb <sebb@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


Mime
View raw message