aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/home.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-11-22 08:40:13 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-11-22 08:40:13 +0100
commite841afdabe76d370da85da0cd34c323f0e2b0c5d (patch)
tree4fe97c13df7e19839d2f6ac06e3a941c7e053ca8 /src/web/views/home.py
parentUpdated translations. (diff)
downloadnewspipe-e841afdabe76d370da85da0cd34c323f0e2b0c5d.tar.gz
newspipe-e841afdabe76d370da85da0cd34c323f0e2b0c5d.tar.bz2
newspipe-e841afdabe76d370da85da0cd34c323f0e2b0c5d.zip
Renamed crawler name.
Diffstat (limited to 'src/web/views/home.py')
-rw-r--r--src/web/views/home.py4
1 files changed, 2 insertions, 2 deletions
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")
bgstack15