projects
/
rss2email.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5df86c4
)
Only load configfiles if we have filenames to work with.
author
W. Trevor King
<wking@tremily.us>
Thu, 4 Oct 2012 16:54:34 +0000
(12:54 -0400)
committer
W. Trevor King
<wking@tremily.us>
Thu, 4 Oct 2012 22:51:19 +0000
(18:51 -0400)
rss2email.py
patch
|
blob
|
history
diff --git
a/rss2email.py
b/rss2email.py
index b4125b88b6ac69384661864f979c3990c03dbd50..7cd1237a88dd1a222799d0c781ba2e377058a9e9 100755
(executable)
--- a/
rss2email.py
+++ b/
rss2email.py
@@
-890,7
+890,10
@@
class Feeds (list):
self.pop(0)
def load(self, lock=True):
- self.read_configfiles = self.config.read(self.configfiles)
+ if self.configfiles:
+ self.read_configfiles = self.config.read(self.configfiles)
+ else:
+ self.read_configfiles = []
self._load_feeds(lock=lock)
def _load_feeds(self, lock):