aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-23 17:59:15 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-23 17:59:15 +0200
commita4b0b111b1f99686bacfc581d2ed6bc8654febae (patch)
tree1a2f84f0e260f97c09e3d2c770afaed16df3687b /pyaggr3g470r/views.py
parentDisplay a message when an error occurs during the indexation or search with W... (diff)
downloadnewspipe-a4b0b111b1f99686bacfc581d2ed6bc8654febae.tar.gz
newspipe-a4b0b111b1f99686bacfc581d2ed6bc8654febae.tar.bz2
newspipe-a4b0b111b1f99686bacfc581d2ed6bc8654febae.zip
Minor bugfix.
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 fa48c145..11e60880 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -313,7 +313,7 @@ def delete(article_id=None):
db.session.delete(article)
db.session.commit()
try:
- fastsearch.delete_article(article.feed_id, article.id)
+ fastsearch.delete_article(g.user.id, article.feed_id, article.id)
except:
pass
flash('Article "' + article.title + '" deleted.', 'success')
bgstack15