mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Deleting stories with invalid id's.
This commit is contained in:
parent
5eb00257b6
commit
7b71419a59
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ def reindex_stories():
|
|||
p = round(i / count * 100)
|
||||
print '%s%%' % p
|
||||
if isinstance(story.id, unicode):
|
||||
db.remove({"_id": story.id})
|
||||
db.stories.remove({"_id": story.id})
|
||||
|
||||
if __name__ == '__main__':
|
||||
# bootstrap_stories()
|
||||
|
|
Loading…
Add table
Reference in a new issue