diff --git a/modules/filemon.py b/modules/filemon.py index 66a3ae1..07c2da9 100644 --- a/modules/filemon.py +++ b/modules/filemon.py @@ -178,6 +178,9 @@ def initNewsSources(): if file.endswith('_news.txt'): source = file[:-9] # remove _news.txt newsSourcesList.append(source) + return True + logger.info("FileMon: No news sources found") + return False #initialize the headlines on startup initNewsSources()