Variable spelling issue 2

This commit is contained in:
Anton Hvornum 2022-12-22 12:59:48 +01:00
parent bb5a4c1644
commit 97d61d046a
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ def get_blockdevice_info(device_path, exclude_iso_dev :bool = True) -> Dict[str,
except SysCallError:
print("Not a loop device, trying uevent rules.")
information = get_blockdevice_uevent(pathlib.Path(block_device).readlink().name)
information = get_blockdevice_uevent(pathlib.Path(device_path).readlink().name)
return enrich_blockdevice_information(information)
else:
# We could not reliably get any information, perhaps the disk is clean of information?