mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Merge pull request #2590 from Spitfireap/fix-unicode-error-getmailcontent
removed html dump to file
This commit is contained in:
@@ -253,8 +253,6 @@ class Email(object):
|
||||
)
|
||||
mail_text = lxml.html.tostring(
|
||||
cleaner.clean_html(html), encoding="unicode")
|
||||
with open("/tmp/output.txt", "w") as fp:
|
||||
fp.write(mail_text)
|
||||
return smart_text(mail_text)
|
||||
|
||||
def _map_cid(self, url):
|
||||
|
||||
Reference in New Issue
Block a user