Commit 3201d20d authored by lixiaofang's avatar lixiaofang

add logging

parent e68afc7d
......@@ -149,7 +149,7 @@ def pictorial_topic(topic_id=-1, offset=0, size=10):
}
}
logging.info("get pictorial query:%s"%q)
result_dict = ESPerform.get_search_results(es_cli_obj, "pictorial", q, offset, size)
pictorial_id_list =[]
if len(result_dict["hits"]) > 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment