aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfetch.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/fetch.py b/fetch.py
index 8684b917..67b9b710 100755
--- a/fetch.py
+++ b/fetch.py
@@ -25,6 +25,7 @@ if __name__ == "__main__":
users = User.query.all()
for user in users:
- print "Fetching articles for", user.nickname
- feed_getter = crawler.FeedGetter(user.email)
- feed_getter.retrieve_feed(feed_id)
+ if user.activation_key == "":
+ print "Fetching articles for", user.nickname
+ feed_getter = crawler.FeedGetter(user.email)
+ feed_getter.retrieve_feed(feed_id)
bgstack15