mirror of https://git.48k.eu/ogclient
live: remove unneeded string formatting in image_create
Replace f-string wf'{image_path}' with the variable image_path.master v1.3.2-29
parent
f67f3c598a
commit
c260534534
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue