针对tap 的tags 数据基于order进行评分
This commit is contained in:
parent
ac856a98bc
commit
f6be1ac090
@ -39,7 +39,7 @@ class TapTapReport:
|
||||
for line in data:
|
||||
try:
|
||||
catename, tags, order = line
|
||||
temp_dict = tags.get(catename, {})
|
||||
temp_dict = tags_data.get(catename, {})
|
||||
for tag in tags.split(","):
|
||||
temp_dict[tag] = temp_dict.get(tag, 0) + self.order2score(order)
|
||||
tags_data.update(temp_dict)
|
||||
|
Loading…
x
Reference in New Issue
Block a user