diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-10 10:34:00 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-10 10:34:00 +0100 |
commit | 677304ba3ecbd204fa2726e6820de84ad09bd868 (patch) | |
tree | bd19fbf2f1a0cddad1980fe15cf4c228867c5d69 /newspipe/web/views/home.py | |
parent | Updated README. (diff) | |
download | newspipe-677304ba3ecbd204fa2726e6820de84ad09bd868.tar.gz newspipe-677304ba3ecbd204fa2726e6820de84ad09bd868.tar.bz2 newspipe-677304ba3ecbd204fa2726e6820de84ad09bd868.zip |
Added a tiny portion of black magic.
Diffstat (limited to 'newspipe/web/views/home.py')
-rw-r--r-- | newspipe/web/views/home.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/web/views/home.py b/newspipe/web/views/home.py index 66ce87ea..0fe09b17 100644 --- a/newspipe/web/views/home.py +++ b/newspipe/web/views/home.py @@ -181,7 +181,7 @@ def fetch(feed_id=None): Triggers the download of news. News are downloaded in a separated process. """ - if application.config['CRAWLING_METHOD'] == "default" and current_user.is_admin: + if application.config["CRAWLING_METHOD"] == "default" and current_user.is_admin: misc_utils.fetch(current_user.id, feed_id) flash(gettext("Downloading articles..."), "info") else: |