diff options
author | cedricbonhomme <devnull@localhost> | 2012-03-10 09:23:53 +0100 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2012-03-10 09:23:53 +0100 |
commit | 2e85e7967f9695a6ff2337d74d9227d639968c8f (patch) | |
tree | 5e4ff4feee981356757a5bc32282d10840c41be9 | |
parent | The path of the SQLite base is useless. Configuration of the MongoDB database... (diff) | |
download | newspipe-2e85e7967f9695a6ff2337d74d9227d639968c8f.tar.gz newspipe-2e85e7967f9695a6ff2337d74d9227d639968c8f.tar.bz2 newspipe-2e85e7967f9695a6ff2337d74d9227d639968c8f.zip |
Delete an article individually from the MongoDB database.
-rwxr-xr-x | pyAggr3g470r.py | 2 |
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.") |