Commit ceb907b6 authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup! erp5_interface_post: sent Mail Message now display their post equivalent as preview

parent 6fdbb792
...@@ -9,7 +9,7 @@ import email ...@@ -9,7 +9,7 @@ import email
message = email.message_from_string(data) message = email.message_from_string(data)
payload = message.get_payload(decode=True) payload = message.get_payload()
while isinstance(payload, list): while isinstance(payload, list):
payload = payload[0].get_payload(decode=True) payload = payload[0].get_payload(decode=True)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment