From d6cc56c7c053a6ba55c795e9ff2fed489f402abe Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Fri, 18 Nov 2022 16:16:01 -0700 Subject: [PATCH] fix latest image str replace --- iso/empanadas/empanadas/util/iso_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iso/empanadas/empanadas/util/iso_utils.py b/iso/empanadas/empanadas/util/iso_utils.py index 103ed8c..87fd3e5 100644 --- a/iso/empanadas/empanadas/util/iso_utils.py +++ b/iso/empanadas/empanadas/util/iso_utils.py @@ -1532,7 +1532,7 @@ class IsoBuild: arch, formattype ) - latest_primary_path = latest_name.split('/')[-1] + latest_primary_path = latest_primary_name.split('/')[-1] self.log.info('This is the primary image, setting link and checksum') if os.path.exists(latest_primary_name):