aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2017-02-12 16:53:06 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2017-02-12 17:01:33 +0100
commit90f52a34a08b03b21a03c41fb68d096aa084cf28 (patch)
tree01cc9e04495322b5b30226dfb91ee2c19a6a38c7 /src/web/views
parentNew https certificate (diff)
downloadnewspipe-90f52a34a08b03b21a03c41fb68d096aa084cf28.tar.gz
newspipe-90f52a34a08b03b21a03c41fb68d096aa084cf28.tar.bz2
newspipe-90f52a34a08b03b21a03c41fb68d096aa084cf28.zip
Bugfix. The auto-crawling was broken.
Diffstat (limited to 'src/web/views')
-rw-r--r--src/web/views/feed.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/views/feed.py b/src/web/views/feed.py
index fa5cfc77..9fa4b089 100644
--- a/src/web/views/feed.py
+++ b/src/web/views/feed.py
@@ -143,7 +143,7 @@ def bookmarklet():
'warning')
feed = feed_contr.create(**feed)
flash(gettext('Feed was successfully created.'), 'success')
- if feed.enabled and conf.CRAWLING_METHOD == "classic":
+ if feed.enabled and conf.CRAWLING_METHOD == "default":
misc_utils.fetch(current_user.id, feed.id)
flash(gettext("Downloading articles for the new feed..."), 'info')
return redirect(url_for('feed.form', feed_id=feed.id))
@@ -233,7 +233,7 @@ def process_form(feed_id=None):
flash(gettext('Feed %(feed_title)r successfully created.',
feed_title=new_feed.title), 'success')
- if conf.CRAWLING_METHOD == "classic":
+ if conf.CRAWLING_METHOD == "default":
misc_utils.fetch(current_user.id, new_feed.id)
flash(gettext("Downloading articles for the new feed..."), 'info')
bgstack15