diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-11-22 08:40:13 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-11-22 08:40:13 +0100 |
commit | e841afdabe76d370da85da0cd34c323f0e2b0c5d (patch) | |
tree | 4fe97c13df7e19839d2f6ac06e3a941c7e053ca8 /src/web/views/home.py | |
parent | Updated translations. (diff) | |
download | newspipe-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.py | 4 |
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") |