small fix to deal with finding email body. who knew?

workspace
Brendan Howell 4 years ago
parent cfd9be88d4
commit 6535ac33bf

@ -123,7 +123,7 @@ class MailRoom(Bureau):
msg.attachments = [] # TODO: deal with attachments msg.attachments = [] # TODO: deal with attachments
# TODO: should use msg_obj.get_body and deal with HTML # 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: if msg.content:
msg.content = msg.content.get_content() msg.content = msg.content.get_content()
else: else:

Loading…
Cancel
Save