Commit 6cd1c997 authored by 赵威's avatar 赵威

update type

parent 7d68be83
...@@ -36,7 +36,7 @@ def save_result(): ...@@ -36,7 +36,7 @@ def save_result():
for (index, i) in enumerate(distances): for (index, i) in enumerate(distances):
tmp_id = ids[index] tmp_id = ids[index]
if i <= 1.0 and tmp_id != id: if i <= 1.0 and tmp_id != id:
res.append(tmp_id) res.append(str(tmp_id))
if res: if res:
data = "{}:{}:{}".format(content_level, str(id), ",".join(res)) data = "{}:{}:{}".format(content_level, str(id), ",".join(res))
print(data) print(data)
......
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