summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/live/ogOperations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 0a2232b..010af05 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -239,7 +239,7 @@ class OgLiveOperations:
if cache:
self._fetch_image_unicast(repo, name)
- image_path = f'{OG_CACHE_IMAGE_PATH}{image_name}.img'
+ image_path = f'{OG_CACHE_IMAGE_PATH}{name}.img'
else:
if os.access(f'/opt/opengnsys/images', os.R_OK) == False:
raise OgError('Cannot access /opt/opengnsys/images in read mode, check permissions')