aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-10 07:08:06 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-10 07:08:06 +0100
commit45446e863a262da69b899ee102bea42bfb99a461 (patch)
treed26f5ae8d7495ccf655fcd64e4615559621b22ce /src
parentThe classic crawler is now able to update an article. Only content or title a... (diff)
downloadnewspipe-45446e863a262da69b899ee102bea42bfb99a461.tar.gz
newspipe-45446e863a262da69b899ee102bea42bfb99a461.tar.bz2
newspipe-45446e863a262da69b899ee102bea42bfb99a461.zip
Fixed an error when redirecting to home from the 'duplicates' page.
Diffstat (limited to 'src')
-rw-r--r--src/web/views/feed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/feed.py b/src/web/views/feed.py
index 959179f9..58628d6a 100644
--- a/src/web/views/feed.py
+++ b/src/web/views/feed.py
@@ -245,5 +245,5 @@ def duplicates(feed_id):
if len(duplicates) == 0:
flash(gettext('No duplicates in the feed "{}".').format(feed.title),
'info')
- return redirect('home')
+ return redirect(url_for('home'))
return render_template('duplicates.html', duplicates=duplicates, feed=feed)
bgstack15