From afc3a0b2c6fe633bd91a5178a3bf74684432a4dc Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 4 Oct 2012 12:54:34 -0400 Subject: [PATCH] Only load configfiles if we have filenames to work with. --- rss2email.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rss2email.py b/rss2email.py index b4125b8..7cd1237 100755 --- 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): -- 2.26.2