live: remove unneeded string formatting in image_create

Replace f-string wf'{image_path}' with the variable image_path.
master v1.3.2-29
Alejandro Sirgo Rica 2025-02-03 11:25:39 +01:00
parent f67f3c598a
commit c260534534
1 changed files with 1 additions and 1 deletions

View File

@ -667,7 +667,7 @@ class OgLiveOperations:
if os.access(f'/opt/opengnsys/images', os.R_OK | os.W_OK) == False:
raise OgError('Cannot access /opt/opengnsys/images in read and write mode, check permissions')
if os.access(f'{image_path}', os.R_OK) == True:
if os.access(image_path, os.R_OK) == True:
logging.info(f'image file {image_path} already exists, updating.')
if is_windows and is_uefi_supported():