projects
/
rss2email.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
868694e
)
Fix CONFIG -> config typo in Feed.load_from_config().
author
W. Trevor King
<wking@tremily.us>
Fri, 5 Oct 2012 00:11:55 +0000
(20:11 -0400)
committer
W. Trevor King
<wking@tremily.us>
Fri, 5 Oct 2012 01:09:49 +0000
(21:09 -0400)
rss2email.py
patch
|
blob
|
history
diff --git
a/rss2email.py
b/rss2email.py
index 99f4ad26fe8af6ea0a6aac7c7c24ce9a1fcc1d63..7fb39d1fec0cca0ca718716c4ab7858d16381924 100755
(executable)
--- 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: