From 45446e863a262da69b899ee102bea42bfb99a461 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 10 Feb 2016 07:08:06 +0100 Subject: Fixed an error when redirecting to home from the 'duplicates' page. --- src/web/views/feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit