From: W. Trevor King Date: Fri, 5 Oct 2012 00:11:55 +0000 (-0400) Subject: Fix CONFIG -> config typo in Feed.load_from_config(). X-Git-Tag: v3.0~72^2~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=86f0d5f1841ab53865c42f1262e0a5e29a661f4c;p=rss2email.git Fix CONFIG -> config typo in Feed.load_from_config(). --- 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: