diff options
-rw-r--r-- | resources/tools/presentation/generator_CPTA.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py index a2e9ee647d..bbf1a94598 100644 --- a/resources/tools/presentation/generator_CPTA.py +++ b/resources/tools/presentation/generator_CPTA.py @@ -368,7 +368,7 @@ def _generate_all_charts(spec, input_data): builds_lst = list() for build in range(builds[0], builds[-1] + 1): - status = spec.input["builds"][job_name][str(build)]["status"] + status = spec.input["builds"][job_name][build]["status"] if status != "failed" and status != "not found": builds_lst.append(str(build)) print(builds_lst) |