aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-03-10 09:23:53 +0100
committercedricbonhomme <devnull@localhost>2012-03-10 09:23:53 +0100
commit2e85e7967f9695a6ff2337d74d9227d639968c8f (patch)
tree5e4ff4feee981356757a5bc32282d10840c41be9 /pyAggr3g470r.py
parentThe path of the SQLite base is useless. Configuration of the MongoDB database... (diff)
downloadnewspipe-2e85e7967f9695a6ff2337d74d9227d639968c8f.tar.gz
newspipe-2e85e7967f9695a6ff2337d74d9227d639968c8f.tar.bz2
newspipe-2e85e7967f9695a6ff2337d74d9227d639968c8f.zip
Delete an article individually from the MongoDB database.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 28a4090e..489ac0c6 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -1188,7 +1188,7 @@ class Root:
"""
try:
feed_id, article_id = param.split(':')
- article = self.feeds[feed_id].articles[article_id]
+ self.mongo.delete_article(feed_id, article_id)
except:
return self.error_page("Bad URL. This article do not exists.")
bgstack15