From f88789b3b47e4f7e11902b3540995a77290a21bb Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 12 Feb 2017 16:53:06 +0100 Subject: Bugfix. The auto-crawling was broken. --- src/web/views/feed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/web') 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') -- cgit