diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-10 07:08:06 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-10 07:08:06 +0100 |
commit | 45446e863a262da69b899ee102bea42bfb99a461 (patch) | |
tree | d26f5ae8d7495ccf655fcd64e4615559621b22ce /src/web | |
parent | The classic crawler is now able to update an article. Only content or title a... (diff) | |
download | newspipe-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/web')
-rw-r--r-- | src/web/views/feed.py | 2 |
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) |