Commit f9d725b6 authored by 黄凯's avatar 黄凯

Merge branch 'hk_now' into 'master'

bug fix

See merge request alpha/physical!259
parents 2270b4b7 bb71af5b
......@@ -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