aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/feedgetter.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/feedgetter.py')
-rw-r--r--pyaggr3g470r/feedgetter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py
index 21cc841d..673b5a20 100644
--- a/pyaggr3g470r/feedgetter.py
+++ b/pyaggr3g470r/feedgetter.py
@@ -63,11 +63,11 @@ class FeedGetter(object):
"""
Parse the file 'feeds.lst' and launch a thread for each RSS feed.
"""
- for feed in self.user.feeds:
+ for current_feed in [feed for feed in self.user.feeds if feed.enabled]:
try:
# launch a new thread for the RSS feed
thread = threading.Thread(None, self.process, \
- None, (feed, ))
+ None, (current_feed, ))
thread.start()
list_of_threads.append(thread)
except:
bgstack15