fixbug
This commit is contained in:
parent
27dab2272d
commit
ab11874cfe
@ -558,7 +558,7 @@ class TapWeeklyReport:
|
|||||||
try:
|
try:
|
||||||
data_type = line.get("name")
|
data_type = line.get("name")
|
||||||
for items in line.get("row_data"):
|
for items in line.get("row_data"):
|
||||||
for tag in items.split(',')[-1]:
|
for tag in items.split(',')[-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:
|
except Exception:
|
||||||
log.error(f"collect tags failed with {line}", exc_info=True)
|
log.error(f"collect tags failed with {line}", exc_info=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user