]> git.sommitrealweird.co.uk Git - rss2maildir.git/blobdiff - rss2maildir.py
simple typo fix
[rss2maildir.git] / rss2maildir.py
index 0dfd0f04b0f035224a900ab94d73e400aa2d82e9..59e936117223d5dcac522abd14eadbf974f8ca8e 100755 (executable)
@@ -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")