diff options
Diffstat (limited to 'mongodb.py')
-rw-r--r-- | mongodb.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ class Articles(object): collections = self.db.collection_names() for collection_name in collections: collection = self.db[collection_name] - articles.append(collection) + articles.extend([article for article in collection.find({'type':1})]) return articles def get_article(self, feed_id, article_id): |