aboutsummaryrefslogtreecommitdiff
path: root/source/mongodb.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-02-14 08:04:35 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-02-14 08:04:35 +0100
commit296ed372f5a0134ad15e3d59b92563456a4178b7 (patch)
treefcb17e77251f330fd50c247145691a3394632013 /source/mongodb.py
parentBugfix: little hack due to the presence of '%' in the string. (diff)
downloadnewspipe-296ed372f5a0134ad15e3d59b92563456a4178b7.tar.gz
newspipe-296ed372f5a0134ad15e3d59b92563456a4178b7.tar.bz2
newspipe-296ed372f5a0134ad15e3d59b92563456a4178b7.zip
Removed 'width=50%' parameter for the page of exported articles.
Diffstat (limited to 'source/mongodb.py')
-rw-r--r--source/mongodb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/mongodb.py b/source/mongodb.py
index 7d593e46..22d82b86 100644
--- a/source/mongodb.py
+++ b/source/mongodb.py
@@ -45,7 +45,7 @@ class Articles(object):
Creates a new collection for a new feed.
"""
collection = self.db[new_collection["feed_id"]]
- collection.create_index([("article_date", pymongo.DESCENDING)], {"unique":False, "sparse":False})
+ #collection.create_index([("article_date", pymongo.DESCENDING)], {"unique":False, "sparse":False})
collection.ensure_index('article_content', pymongo.ASCENDING)
collection.insert(new_collection)
bgstack15