aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-28 21:19:27 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-28 21:19:27 +0100
commitc0fea7d60800af8f31c2a568b365b42ad01daf14 (patch)
tree7d9a4913e11b6052011160322ea70fcad73054a8 /pyaggr3g470r/views.py
parentOnly compare published date and title of articles. (diff)
downloadnewspipe-c0fea7d60800af8f31c2a568b365b42ad01daf14.tar.gz
newspipe-c0fea7d60800af8f31c2a568b365b42ad01daf14.tar.bz2
newspipe-c0fea7d60800af8f31c2a568b365b42ad01daf14.zip
Improved layout of the template duplicate.html.
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index c6c7b5b3..7e97560b 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -485,7 +485,7 @@ def duplicates(feed_id=None):
feed = Feed.query.filter(Feed.user_id == g.user.id, Feed.id == feed_id).first()
duplicates = []
duplicates = duplicate.compare_documents(feed)
- return render_template('duplicates.html', duplicates=duplicates)
+ return render_template('duplicates.html', duplicates=duplicates, feed=feed)
@app.route('/index_database', methods=['GET'])
@login_required
bgstack15