aboutsummaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2017-02-12 16:53:06 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2017-02-12 16:53:06 +0100
commitf88789b3b47e4f7e11902b3540995a77290a21bb (patch)
tree23b9e1001583dca71bc4379d2e7af2cad7e88d69 /src/web
parentupdated requirements.txt (diff)
downloadnewspipe-f88789b3b47e4f7e11902b3540995a77290a21bb.tar.gz
newspipe-f88789b3b47e4f7e11902b3540995a77290a21bb.tar.bz2
newspipe-f88789b3b47e4f7e11902b3540995a77290a21bb.zip
Bugfix. The auto-crawling was broken.
Diffstat (limited to 'src/web')
-rw-r--r--src/web/views/feed.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/views/feed.py b/src/web/views/feed.py
index fa5cfc77..9fa4b089 100644
--- a/src/web/views/feed.py
+++ b/src/web/views/feed.py
@@ -143,7 +143,7 @@ def bookmarklet():
'warning')
feed = feed_contr.create(**feed)
flash(gettext('Feed was successfully created.'), 'success')
- if feed.enabled and conf.CRAWLING_METHOD == "classic":
+ if feed.enabled and conf.CRAWLING_METHOD == "default":
misc_utils.fetch(current_user.id, feed.id)
flash(gettext("Downloading articles for the new feed..."), 'info')
return redirect(url_for('feed.form', feed_id=feed.id))
@@ -233,7 +233,7 @@ def process_form(feed_id=None):
flash(gettext('Feed %(feed_title)r successfully created.',
feed_title=new_feed.title), 'success')
- if conf.CRAWLING_METHOD == "classic":
+ if conf.CRAWLING_METHOD == "default":
misc_utils.fetch(current_user.id, new_feed.id)
flash(gettext("Downloading articles for the new feed..."), 'info')
bgstack15