X-Git-Url: https://git.sommitrealweird.co.uk/rss2maildir.git/blobdiff_plain/b85e3c712d2cc41730c1f0bb619b58663b6b7b48..fcaedcaf414720ca8aac9fff2d12c45edd929a43:/rss2maildir.py?ds=inline diff --git a/rss2maildir.py b/rss2maildir.py index 0dfd0f0..59e9361 100755 --- a/rss2maildir.py +++ b/rss2maildir.py @@ -684,7 +684,7 @@ def parse_and_deliver(maildir, url, statedir): pass msg.add_header("Date", createddate) subj_gen = HTML2Text() - subj_gen.feed(item["title"].encod("utf-8")) + subj_gen.feed(item["title"].encode("utf-8")) msg.add_header("Subject", subj_gen.gettext()) msg.set_default_type("text/plain")