diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-10 13:34:12 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-10 13:34:12 +0100 |
commit | db93420046528a5d8f6eca85cb979e4ef4007f76 (patch) | |
tree | 9edd32f463d2a2b1fc4f4d51007a72adabd37092 | |
parent | Fixed typo. (diff) | |
download | newspipe-db93420046528a5d8f6eca85cb979e4ef4007f76.tar.gz newspipe-db93420046528a5d8f6eca85cb979e4ef4007f76.tar.bz2 newspipe-db93420046528a5d8f6eca85cb979e4ef4007f76.zip |
bugfix: global variable conf has been replaced by application
-rw-r--r-- | newspipe/templates/feed.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newspipe/templates/feed.html b/newspipe/templates/feed.html index 4246669b..af58e939 100644 --- a/newspipe/templates/feed.html +++ b/newspipe/templates/feed.html @@ -26,7 +26,7 @@ {{ _("Last download:") }} {{ feed.last_retrieved | datetime }}<br /> {% endif %} - {% if feed.error_count >= conf.DEFAULT_MAX_ERROR %} + {% if feed.error_count >= application.config['DEFAULT_MAX_ERROR'] %} <b>{{ _("That feed has encountered too much consecutive errors and won't be retrieved anymore.") }}</b><br /> {{ _("You can click <a href='%(reset_error_url)s'>here</a> to reset the error count and reactivate the feed.", reset_error_url=url_for("feed.reset_errors", feed_id=feed.id)) }} {% elif feed.error_count > 0 %} |