Skip to content

Commit

Permalink
fix use of sharded cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiobatalha committed Sep 1, 2017
1 parent 4fdf59f commit 4682f2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name="exportsci",
version='0.4.1',
version='0.4.2',
description="Export metadata to SciELO CI",
author="SciELO",
author_email="[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def sync_sent_documents(self, remove_origin=False):
with open('controller/validated_ids.txt', 'r') as f:
for pid in f:
self._articles_coll.update(
{'code': pid.strip()}, {'$set': {'sent_wos': 'True'}}
{'code': pid.strip()}, {'$set': {'sent_wos': 'True'}}, multi=True
)

if remove_origin:
Expand Down

0 comments on commit 4682f2e

Please sign in to comment.