From e841afdabe76d370da85da0cd34c323f0e2b0c5d Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 22 Nov 2016 08:40:13 +0100 Subject: Renamed crawler name. --- src/web/views/home.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/web/views') diff --git a/src/web/views/home.py b/src/web/views/home.py index 5274dc12..34ecb9fa 100644 --- a/src/web/views/home.py +++ b/src/web/views/home.py @@ -160,9 +160,9 @@ def mark_all_as_read(): def fetch(feed_id=None): """ Triggers the download of news. - News are downloaded in a separated process, mandatory for Heroku. + News are downloaded in a separated process. """ - if conf.CRAWLING_METHOD == "classic" \ + if conf.CRAWLING_METHOD == "default" \ and (not conf.ON_HEROKU or current_user.is_admin): misc_utils.fetch(current_user.id, feed_id) flash(gettext("Downloading articles..."), "info") -- cgit