Commit 97ca5455 authored by lixiaofang's avatar lixiaofang

add

parent a02815cf
......@@ -140,8 +140,6 @@ class TopicUtils(object):
result_dict = TopicUtils.get_related_user_info(user_id, 0, 1)
if len(result_dict["hits"]) == 0:
logging.warning("not find user_id:%d in es!" % int(user_id))
logging.warning("not find user_id:%d in es!" % int(tag_id))
else:
attention_user_info_list = result_dict["hits"][0]["_source"]["attention_user_id_list"]
attention_user_id_list = [item["user_id"] for item in attention_user_info_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