sebbASF commented on code in PR #247:
URL:
https://github.com/apache/incubator-ponymail-foal/pull/247#discussion_r1585113975
##########
tools/archiver.py:
##########
@@ -427,9 +428,19 @@ def message_body(self, msg: email.message.Message) ->
typing.Optional[Body]:
and part.get_content_type() == "text/html"
):
first_html = Body(part)
+ elif (
+ body is None
+ ):
+ last_random = Body(part)
Review Comment:
If allow_nontext_body is not set, then last_random is not needed, and should
not be calculated
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]