aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-28 19:06:14 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-28 19:06:14 +0100
commitcb35a9b23a855b75ea7c429b44f320a4ab9c29f3 (patch)
tree0a7d9c3e63e5a8849476c6011fd98222e78c6513 /pyaggr3g470r/views.py
parentUpdated README.rst and vagrant bootstrap file. (diff)
downloadnewspipe-cb35a9b23a855b75ea7c429b44f320a4ab9c29f3.tar.gz
newspipe-cb35a9b23a855b75ea7c429b44f320a4ab9c29f3.tar.bz2
newspipe-cb35a9b23a855b75ea7c429b44f320a4ab9c29f3.zip
Misc fixes for the installation/uage of scipy/numpy/nltk.
Diffstat (limited to 'pyaggr3g470r/views.py')
-rw-r--r--pyaggr3g470r/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index c9acec2d..c6c7b5b3 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -42,7 +42,7 @@ from sqlalchemy.exc import IntegrityError
from werkzeug import generate_password_hash
import conf
-from pyaggr3g470r import utils, notifications, export, compare
+from pyaggr3g470r import utils, notifications, export, duplicate
from pyaggr3g470r import app, db, allowed_file, babel
from pyaggr3g470r.models import User, Feed, Article, Role
from pyaggr3g470r.decorators import feed_access_required
@@ -484,7 +484,7 @@ def duplicates(feed_id=None):
"""
feed = Feed.query.filter(Feed.user_id == g.user.id, Feed.id == feed_id).first()
duplicates = []
- duplicates = compare.compare_documents(feed)
+ duplicates = duplicate.compare_documents(feed)
return render_template('duplicates.html', duplicates=duplicates)
@app.route('/index_database', methods=['GET'])
bgstack15