aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views/feed.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-06-03 08:39:22 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-06-03 08:39:22 +0200
commitb44e91467316a4de8e6883658f9959eef38d3e09 (patch)
treed26d5ae6fb8f57cd28d3d0f71899f124b530b636 /pyaggr3g470r/views/feed.py
parentUpdated NEWS.rst file for the new release (6.6). (diff)
downloadnewspipe-b44e91467316a4de8e6883658f9959eef38d3e09.tar.gz
newspipe-b44e91467316a4de8e6883658f9959eef38d3e09.tar.bz2
newspipe-b44e91467316a4de8e6883658f9959eef38d3e09.zip
The bookmarklet to subscribe to a feed has been slightly updated.
Diffstat (limited to 'pyaggr3g470r/views/feed.py')
-rw-r--r--pyaggr3g470r/views/feed.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyaggr3g470r/views/feed.py b/pyaggr3g470r/views/feed.py
index 50282454..51832ea5 100644
--- a/pyaggr3g470r/views/feed.py
+++ b/pyaggr3g470r/views/feed.py
@@ -100,6 +100,9 @@ def bookmarklet():
feed = feed_contr.create(link=url)
flash(gettext('Feed was successfully created.'), 'success')
+ if conf.CRAWLING_METHOD == "classic":
+ utils.fetch(g.user.id, feed.id)
+ flash(gettext("Downloading articles for the new feed..."), 'info')
return redirect(url_for('feed.form', feed_id=feed.id))
bgstack15