Skip to content
Snippets Groups Projects
Commit 240141e7 authored by Alessandro Cerioni's avatar Alessandro Cerioni
Browse files

Fixing typo.

parent a2137ad0
Branches
Tags
No related merge requests found
......@@ -60,8 +60,7 @@ def tag_doc( the_doc ):
def index_docs(channel, method, properties, body, es):
t1 = time.time()
decoded_body = msgpack.unpackb(body, raw=False)es_logger = logging.getLogger('elasticsearch')
es_logger.setLevel(logging.INFO)
decoded_body = msgpack.unpackb(body, raw=False)
if type(decoded_body['body']) is list:
#docs_to_index = decoded_body['body']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment