]> git.sommitrealweird.co.uk Git - rss2maildir.git/commitdiff
simple typo fix
authorBrett Parker <iDunno@sommitrealweird.co.uk>
Sun, 2 Mar 2008 15:29:33 +0000 (15:29 +0000)
committerBrett Parker <iDunno@sommitrealweird.co.uk>
Sun, 2 Mar 2008 15:29:33 +0000 (15:29 +0000)
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()
             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")
 
         msg.add_header("Subject", subj_gen.gettext())
         msg.set_default_type("text/plain")