diff options
Diffstat (limited to 'src/web/views')
-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") |