From 97d61d046a082e4a4fb573bb868eb6ae84d95b7a Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 22 Dec 2022 12:59:48 +0100 Subject: [PATCH] Variable spelling issue 2 --- archinstall/lib/disk/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/disk/helpers.py b/archinstall/lib/disk/helpers.py index 33531f64..e87235a3 100644 --- a/archinstall/lib/disk/helpers.py +++ b/archinstall/lib/disk/helpers.py @@ -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?