From 0f1130c8f1fcf826cfe55829bfa2c466ab1bb0d4 Mon Sep 17 00:00:00 2001 From: Paige Patton Date: Tue, 21 Jan 2025 15:22:46 -0500 Subject: [PATCH] adding most recent previous run --- pkg/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils.py b/pkg/utils.py index 8d842f2..214431e 100644 --- a/pkg/utils.py +++ b/pkg/utils.py @@ -236,7 +236,7 @@ def process_test( runs = match.get_uuid_by_metadata(metadata, fingerprint_index, lookback_date=start_timestamp, lookback_size=options['lookback_size']) if len(last_version_run) > 0: # get latest uuid as the "uuid" to compare against - last_uuid_run = last_version_run[-1] + last_uuid_run = last_version_run[0] runs.append(last_uuid_run) if not runs: