diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-04-14 08:53:40 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-04-14 08:53:40 +0200 |
commit | b8416422b53a8b99738fef712a1857cdbbf8b887 (patch) | |
tree | e5c6bdb02c2ed6d30ec2f0aff17b49390d386614 /pyaggr3g470r/views/feed.py | |
parent | redoing conf gathering and using it in templates (diff) | |
download | newspipe-b8416422b53a8b99738fef712a1857cdbbf8b887.tar.gz newspipe-b8416422b53a8b99738fef712a1857cdbbf8b887.tar.bz2 newspipe-b8416422b53a8b99738fef712a1857cdbbf8b887.zip |
making fetch call dependent to the crawling method option
Diffstat (limited to 'pyaggr3g470r/views/feed.py')
-rw-r--r-- | pyaggr3g470r/views/feed.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/views/feed.py b/pyaggr3g470r/views/feed.py index 11d14ac2..159dce64 100644 --- a/pyaggr3g470r/views/feed.py +++ b/pyaggr3g470r/views/feed.py @@ -163,7 +163,8 @@ def form(feed_id=None): flash(gettext('Feed %(feed_title)r successfully created.', feed_title=new_feed.title), 'success') - utils.fetch(g.user.id, new_feed.id) + if conf.CRAWLING_METHOD == "classic": + utils.fetch(g.user.id, new_feed.id) flash(gettext("Downloading articles for the new feed..."), 'info') return redirect(url_for('feed.form', |