Commit 2c43c3d4 authored by 高雅喆's avatar 高雅喆

update

parent 94dcd9da
......@@ -88,7 +88,7 @@ def get_user_service_portrait(cl_id, all_word_tags, all_tag_tag_type, all_3tag_2
if int(tag_id) in gmkv_tag_score2_sum_dict:
continue
else:
gmkv_tag_score2_sum_dict.update({tag_id: hot_search_words_score[tag_id]})
gmkv_tag_score2_sum_dict.update({int(tag_id): float(hot_search_words_score[tag_id])})
if len(gmkv_tag_score2_sum_dict) > 4:
break
redis_client.delete(cl_id_portrait_key2)
......
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