mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-08-08 22:36:48 +02:00
tighten up efi split
This commit is contained in:
@ -67,7 +67,7 @@ def _process(proc_data: JSONDictType) -> JSONDictType:
|
|||||||
"""
|
"""
|
||||||
# check for EFI partition@boot-manager and split/add fields
|
# check for EFI partition@boot-manager and split/add fields
|
||||||
if 'partition' in proc_data and '@' in proc_data['partition']: # type: ignore
|
if 'partition' in proc_data and '@' in proc_data['partition']: # type: ignore
|
||||||
new_part, efi_bootmgr = proc_data['partition'].split('@') # type: ignore
|
new_part, efi_bootmgr = proc_data['partition'].split('@', maxsplit=1) # type: ignore
|
||||||
proc_data['partition'] = new_part
|
proc_data['partition'] = new_part
|
||||||
proc_data['efi_bootmgr'] = efi_bootmgr
|
proc_data['efi_bootmgr'] = efi_bootmgr
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user