From fcaedcaf414720ca8aac9fff2d12c45edd929a43 Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Sun, 2 Mar 2008 15:29:33 +0000 Subject: [PATCH 1/1] simple typo fix --- rss2maildir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.39.5