From 86f0d5f1841ab53865c42f1262e0a5e29a661f4c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 4 Oct 2012 20:11:55 -0400 Subject: [PATCH] Fix CONFIG -> config typo in Feed.load_from_config(). --- rss2email.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rss2email.py b/rss2email.py index 99f4ad2..7fb39d1 100755 --- a/rss2email.py +++ b/rss2email.py @@ -682,7 +682,7 @@ class Feed (object): self.__setstate__(dict( (attr, getattr(self, attr)) for attr in self._dynamic_attributes)) - self.load_from_config(config) + self.load_from_config(config=config) if url: self.url = url if to: @@ -726,7 +726,7 @@ class Feed (object): "Restore configured attributes" if config is None: config = CONFIG - self.config = CONFIG + self.config = config if self.section in self.config: data = self.config[self.section] else: -- 2.26.2