diff options
-rw-r--r-- | src/utils/cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/cache.py b/src/utils/cache.py index a97cc41..afdc75a 100644 --- a/src/utils/cache.py +++ b/src/utils/cache.py @@ -79,4 +79,4 @@ def init_cache(): mountpoint = mount_cache() if mountpoint: logging.info(f'Creating cache directory at {mountpoint}') - os.makedirs('/opt/opengnsys/cache/opt/opengnsys/images') + os.makedirs(f'{mountpoint}/opt/opengnsys/images') |