fix signal
This commit is contained in:
parent
b1f4bb1a82
commit
c9fd748534
@ -19,7 +19,7 @@ def main():
|
|||||||
print '%s docs in %s' % (docs.count(), args.doc_class)
|
print '%s docs in %s' % (docs.count(), args.doc_class)
|
||||||
|
|
||||||
for doc in docs:
|
for doc in docs:
|
||||||
send_task(task, doc['_id'])
|
send_task(args.task, doc['_id'])
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
Loading…
Reference in New Issue
Block a user