Skip to content

Commit 671ed74

Browse files
xiexinchMeowZheng
authored andcommitted
fix logdict (#1892)
1 parent e0499d5 commit 671ed74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/analysis_tools/analyze_logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def load_json_logs(json_logs):
110110
prev_step = step
111111
else:
112112
step = prev_step
113-
if step not in log:
113+
if step not in log_dict:
114114
log_dict[step] = defaultdict(list)
115115
for k, v in log.items():
116116
log_dict[step][k].append(v)

0 commit comments

Comments
 (0)