uefi: add missing f-string prefix in _find_bootentry() error

Add missing f-string prefix for proper string interpolation in
the error message of _find_bootentry()
master
Alejandro Sirgo Rica 2025-02-12 14:26:24 +01:00
parent 72406a7d89
commit ccdcb7bfc7
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ def _find_bootentry(entries, label):
if entry['description'] == label:
return entry
else:
raise OgError('Boot entry {label} not found')
raise OgError(f'Boot entry {label} not found')
def _strip_boot_prefix(entry):