Skip to content

Commit

Permalink
revise statistical tool for the test log of QTT.
Browse files Browse the repository at this point in the history
  • Loading branch information
WFA-lliu committed Aug 23, 2024
1 parent e1eaa40 commit 5e26af6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion faketrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ def get_report(dir: list = None) -> tuple:
if rpt is not None:
cnt: int = 0
for outer in rpt:
l: list = sorted(rpt[outer])
l: list = list()
if rpt[outer] is not None:
l = sorted(rpt[outer])
if args.category == "all" or args.category == outer.lower():
print("category: %s; quantity: %d" % (outer, len(l)))
for inner in l:
Expand Down

0 comments on commit 5e26af6

Please sign in to comment.