Commit d12ff70d authored by 段英荣's avatar 段英荣

modify

parent 901c8fe2
......@@ -98,6 +98,7 @@ class TopicUtils(object):
logging.error("not find user_id:%d in es!" % int(user_id))
return {"recommend_topic_ids": []}
logging.info("duan add,result_dict:%s" % str(result_dict).encode("utf-8"))
attention_user_info_list = result_dict["hits"][0]["attention_user_id_list"]
(attention_chinese_user_id_list, attention_japan_user_id_list,
attention_korea_user_id_list) = TopicUtils.analyze_related_user_id_list(
......
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