Django2 bytestring conversion: Lynx html_to_text output (#23558)

Fixes test of email body for Django 2.0.
This commit is contained in:
Tim McCormack
2020-04-01 09:12:25 -04:00
committed by GitHub
parent e4c00dd335
commit b489a4ecb1

View File

@@ -25,4 +25,4 @@ def html_to_text(html_message):
if err_from_stderr:
log.info(err_from_stderr)
return plaintext
return plaintext.decode()