diff options
-rwxr-xr-x | fetch.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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) |