From 6535ac33bf54f5831d6acc751817ed74a6c41fbb Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Mon, 30 Nov 2020 23:20:19 +0100 Subject: [PATCH] small fix to deal with finding email body. who knew? --- screenless/bureau/mailroom/mailroom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenless/bureau/mailroom/mailroom.py b/screenless/bureau/mailroom/mailroom.py index 94cefa7..5f515e5 100644 --- a/screenless/bureau/mailroom/mailroom.py +++ b/screenless/bureau/mailroom/mailroom.py @@ -123,7 +123,7 @@ class MailRoom(Bureau): msg.attachments = [] # TODO: deal with attachments # TODO: should use msg_obj.get_body and deal with HTML - msg.content = msg.get_body(('plain',)) + msg.content = msg_obj.get_body(('plain',)) if msg.content: msg.content = msg.content.get_content() else: