15 lines
449 B
Plaintext
15 lines
449 B
Plaintext
$NetBSD: patch-ad,v 1.9 2011/06/09 06:21:58 schmonz Exp $
|
|
|
|
Find the pkgsrc-provided py-html2text.
|
|
|
|
--- rss2email.py.orig 2011-03-04 13:51:24.000000000 +0000
|
|
+++ rss2email.py
|
|
@@ -296,6 +296,7 @@ for e in ['error', 'gaierror']:
|
|
import feedparser
|
|
feedparser.USER_AGENT = "rss2email/"+__version__+ " +http://www.allthingsrss.com/rss2email/"
|
|
|
|
+sys.path.append("@LOCALBASE@/share/html2text")
|
|
import html2text as h2t
|
|
|
|
h2t.UNICODE_SNOB = UNICODE_SNOB
|