From e0782f234b20cdfbcbe411067b336979e7ac0216 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 11 Nov 2021 14:30:52 +0000 Subject: Tweaked partitions usage in blockdevice --- archinstall/lib/disk/blockdevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib/disk') diff --git a/archinstall/lib/disk/blockdevice.py b/archinstall/lib/disk/blockdevice.py index 2cdd741c..5d1ea267 100644 --- a/archinstall/lib/disk/blockdevice.py +++ b/archinstall/lib/disk/blockdevice.py @@ -218,7 +218,7 @@ class BlockDevice: count = 0 while count < 5: for partition_uuid, partition in self.partitions.items(): - if partition_uuid == uuid: + if partition.uuid == uuid: return partition else: log(f"uuid {uuid} not found. Waiting for {count +1} time",level=logging.DEBUG) -- cgit v1.2.3-70-g09d2