Commit 22bee3e7 authored by lixiaofang's avatar lixiaofang

add

parent 1aec2b98
......@@ -55,14 +55,14 @@ if __name__ == "__main__":
for i in topic_id:
if i[0] not in dicts.keys():
if i[1] not in dicts.keys():
dicts.setdefault(i[0], [])
dicts.setdefault(i[1], [])
dicts[i[0]].append(i[1])
dicts[i[1]].append(i[0])
else:
dicts[i[0]].append(i[1])
dicts[i[1]].append(i[0])
logging.info("get dicts:%s" % dicts)
......
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