Commit a946d1e9 authored by Kai's avatar Kai

bug fix

parent d668e17a
......@@ -89,8 +89,8 @@ def get_home_recommend_topic_ids(user_id, device_id, tag_id, offset, size, query
for i in range(0,2):
click_recommend_topic_list.append(click_recommend_topic_id_list[i])
redis_client.hset(click_recommend_redis_key, "cursor", newcursor)
combine_recommend_topic_list_tmp = click_recommend_topic_list.extend(recommend_topic_list)
combine_recommend_topic_list = combine_recommend_topic_list_tmp[0:5]
combine_recommend_topic_list_tmp = click_recommend_topic_list.extend(recommend_topic_list)
combine_recommend_topic_list = combine_recommend_topic_list_tmp[0:5]
have_read_topic_id_list = list()
if redis_field_val_list[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