Commit bb71af5b authored by Kai's avatar Kai

bug fix

parent 46d569c6
......@@ -107,7 +107,7 @@ class CollectData(object):
cursor = -1
if b"data" in redis_topic_data_dict:
redis_topic_list = json.loads(redis_topic_data_dict[b"data"]) if redis_topic_data_dict[b"data"] else []
cursor = redis_topic_data_dict[b"cursor"]
cursor = int(str(redis_topic_data_dict[b"cursor"],encoding="utf-8"))
if cursor==0 and len(redis_topic_list)>0:
tag_topic_id_list = redis_topic_list[:2] + tag_topic_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