a
This commit is contained in:
parent
503d292559
commit
30c249f1fe
@ -559,10 +559,9 @@ class TapWeeklyReport:
|
||||
try:
|
||||
data_type = line.get("name")
|
||||
row_tags[data_type]={}
|
||||
pdb.set_trace()
|
||||
for items in line.get("row_data"):
|
||||
for tag in items[-1].split(','):
|
||||
row_tags[data_type][tag] += row_tags[data_type].get(tag, 0) + 1
|
||||
row_tags[data_type][tag] = row_tags[data_type].get(tag, 0) + 1
|
||||
except Exception:
|
||||
log.error(f"collect tags failed with {line}", exc_info=True)
|
||||
return row_tags
|
||||
|
Loading…
x
Reference in New Issue
Block a user