From cbeea5e51700fe65cfed490e99c55e25c7da9afb Mon Sep 17 00:00:00 2001 From: Aaron Swartz Date: Thu, 29 Jan 2004 12:02:00 +0000 Subject: [PATCH] Add rss2email v2.22 Fix for config file bug. Downloaded from: http://web.archive.org/web/20040416223231/http://www.aaronsw.com/2002/rss2email/rss2email-2.22.py --- rss2email.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/rss2email.py b/rss2email.py index f145141..29d9376 100644 --- a/rss2email.py +++ b/rss2email.py @@ -12,7 +12,7 @@ Usage: python rss2email.py feedfile action [options] list delete n """ -__version__ = "2.21" +__version__ = "2.22" __author__ = "Aaron Swartz (me@aaronsw.com)" __copyright__ = "(C) 2004 Aaron Swartz. GNU GPL 2." ___contributors__ = ["Dean Jackson (dino@grorg.org)", @@ -51,10 +51,7 @@ def send(fr, to, message): import sys sys.path.append(".") try: - import config - DEFAULT_FROM = config.DEFAULT_FROM - TRUST_GUID = config.TRUST_GUID - TREAT_DESCRIPTION_AS_HTML = config.TREAT_DESCRIPTION_AS_HTML + from config import * except: pass -- 2.26.2