From 27a338abf5d4bea2e140b99942169dfaee16d89b Mon Sep 17 00:00:00 2001 From: James Turk Date: Wed, 5 Oct 2011 15:55:48 -0400 Subject: [PATCH] fix for extract_text usage --- oyster/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oyster/tasks.py b/oyster/tasks.py index f69246a..3f79243 100644 --- a/oyster/tasks.py +++ b/oyster/tasks.py @@ -71,7 +71,7 @@ class ExternalStoreTask(Task): text = extract_text(filedata) # 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 self.client.db.tracked.save(doc, safe=True)