Commit 89fb67a8 authored by 赵威's avatar 赵威

update tags

parent 0b05123b
...@@ -43,7 +43,7 @@ def user_portrait_scan_info(): ...@@ -43,7 +43,7 @@ def user_portrait_scan_info():
def _dict_to_name_score(d): def _dict_to_name_score(d):
res = [] res = []
for (k, v) in d.items(): for (k, v) in d.items():
res.append({"name": k, "score": double(v)}) res.append({"name": k, "score": float(v)})
return res return res
......
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