* James Curbo <[EMAIL PROTECTED]> [2005-09-15 19:08]: > DEFAULT_FROM = 1
This is really user error. DEFAULT_FROM takes an email address (i.e. a string) rather than an integer (see "man r2e"). However, I suppose the following patch cannot do any harm: --- /usr/share/rss2email/rss2email.py~ 2005-09-16 08:17:09.000000000 +0100 +++ /usr/share/rss2email/rss2email.py 2005-09-16 08:29:20.000000000 +0100 @@ -217,7 +217,7 @@ def getEmail(feed, entry): """Get the best email_address.""" - if FORCE_FROM: return DEFAULT_FROM + if FORCE_FROM: return str(DEFAULT_FROM) if 'email' in entry.get('author_detail', []): return entry.author_detail.email @@ -234,7 +234,7 @@ if feed.get("errorreportsto", ''): return feed.errorreportsto - return DEFAULT_FROM + return str(DEFAULT_FROM) ### Simple Database of Feeds ### -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]