From 45848a73ae46cc3ec2da18738da0b7d152d97447 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sun, 17 Mar 2019 22:24:17 +0100 Subject: [PATCH] Handle multipart types that aren't --- mbox2web | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbox2web b/mbox2web index 5d11e25..0b5f2ec 100755 --- a/mbox2web +++ b/mbox2web @@ -93,7 +93,7 @@ def render_body(msg): parts = msg.get_payload() if type(parts) == str: # mislabelled, assume text/plain - raise NotImplementedError() + return render_text_plain(msg) partshtml = [] for part in msg.get_payload(): partshtml.append(render_body(part))