summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/bios.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/bios.py b/src/utils/bios.py
index e064ca0..1c16633 100644
--- a/src/utils/bios.py
+++ b/src/utils/bios.py
@@ -35,7 +35,7 @@ def get_vmlinuz_path(mountpoint):
target_file = file
if not target_file:
- raise FileNotFoundError('vmlinuz not found in {initrd_dir}')
+ raise FileNotFoundError(f'vmlinuz not found in {initrd_dir}')
return os.path.join(linuz_dir, target_file)
@@ -48,6 +48,6 @@ def get_initrd_path(mountpoint):
target_file = file
if not target_file:
- raise FileNotFoundError('initrd not found in {initrd_dir}')
+ raise FileNotFoundError(f'initrd not found in {initrd_dir}')
return os.path.join(initrd_dir, target_file)