Only load configfiles if we have filenames to work with.
authorW. Trevor King <wking@tremily.us>
Thu, 4 Oct 2012 16:54:34 +0000 (12:54 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 4 Oct 2012 22:51:19 +0000 (18:51 -0400)
rss2email.py

index b4125b88b6ac69384661864f979c3990c03dbd50..7cd1237a88dd1a222799d0c781ba2e377058a9e9 100755 (executable)
@@ -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):