You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/08/15 06:27:52 UTC

[incubator-ponymail-foal] branch master updated: be more specific here

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 5cf53ff  be more specific here
5cf53ff is described below

commit 5cf53ffe0ebc8dc6e531e303a28617622267d3ea
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sat Aug 15 08:27:40 2020 +0200

    be more specific here
---
 tools/archiver.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/archiver.py b/tools/archiver.py
index e01e4a4..7d477b0 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -409,7 +409,7 @@ class Archiver(object):  # N.B. Also used by import-mbox.py
         try:
             if (
                 msg_metadata.get("content-type")
-                and msg_metadata.get("content-type", "").find("flowed") != -1
+                and msg_metadata.get("content-type", "").find("format=flowed") != -1
             ):
                 body = formatflowed.convertToWrapped(
                     bytes(body, "utf-8"), character_set="utf-8"