diff options
Diffstat (limited to 'newspipe/web/views/home.py')
-rw-r--r-- | newspipe/web/views/home.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/newspipe/web/views/home.py b/newspipe/web/views/home.py index 34ecb9fa..dc7a361a 100644 --- a/newspipe/web/views/home.py +++ b/newspipe/web/views/home.py @@ -162,8 +162,7 @@ def fetch(feed_id=None): Triggers the download of news. News are downloaded in a separated process. """ - if conf.CRAWLING_METHOD == "default" \ - and (not conf.ON_HEROKU or current_user.is_admin): + if conf.CRAWLING_METHOD == "default" and current_user.is_admin: misc_utils.fetch(current_user.id, feed_id) flash(gettext("Downloading articles..."), "info") else: |