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

commit 71b8b1cb587bfe42514f0dc50e20ce224c20028a
Author: Daniel Gruno <[email protected]>
AuthorDate: Sat Sep 5 01:44:05 2020 +0200

    keep type tests happy
---
 tools/archiver.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/archiver.py b/tools/archiver.py
index 82ad32c..45c76d5 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -420,7 +420,7 @@ class Archiver(object):  # N.B. Also used by import-mbox.py
                         mid = plugins.generators.generate(
                             generator,
                             msg,
-                            body if body.character_set else body.bytes,
+                            body if body and body.character_set else body and 
body.bytes or "",
                             lid,
                             attachments,
                             raw_msg,

Reply via email to