Commit af82f775 authored by Kai's avatar Kai

bug_fix

parent 2c4a1d66
......@@ -75,8 +75,9 @@ class CollectData(object):
recommend_topic_id_list = list()
recommend_topic_id_list_click = list()
if len(click_topic_tag_list)>0 and click_topic_tag_list:
recommend_topic_id_list_click = ESPerform.get_tag_topic_list(click_topic_tag_list,
if click_topic_tag_list:
if len(click_topic_tag_list)>0:
recommend_topic_id_list_click = ESPerform.get_tag_topic_list(click_topic_tag_list,
have_read_topic_id_list)
if len(recommend_topic_id_list_click) > 0:
num = min(len(recommend_topic_id_list_click), 2)
......
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