fix latest image str replace

This commit is contained in:
Louis Abel 2022-11-18 16:16:01 -07:00
parent 713b58f181
commit d6cc56c7c0
Signed by untrusted user: label
GPG Key ID: B37E62D143879B36

View File

@ -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):