fix for extract_text usage
This commit is contained in:
parent
5b71fa4aea
commit
27a338abf5
@ -71,7 +71,7 @@ class ExternalStoreTask(Task):
|
|||||||
text = extract_text(filedata)
|
text = extract_text(filedata)
|
||||||
|
|
||||||
# put the document into the data store
|
# put the document into the data store
|
||||||
result = self.upload_document(doc_id, extract_text, doc['metadata'])
|
result = self.upload_document(doc_id, text, doc['metadata'])
|
||||||
|
|
||||||
doc[self.external_store + '_id'] = result
|
doc[self.external_store + '_id'] = result
|
||||||
self.client.db.tracked.save(doc, safe=True)
|
self.client.db.tracked.save(doc, safe=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user