From a41cdfc78a4700ae50ffb8474cf4c8755e7e853a Mon Sep 17 00:00:00 2001 From: caleb Date: Fri, 7 Jun 2024 15:28:25 -0400 Subject: [PATCH] fix typo --- truenas_installer/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truenas_installer/utils.py b/truenas_installer/utils.py index effb959..5a7ae14 100644 --- a/truenas_installer/utils.py +++ b/truenas_installer/utils.py @@ -51,7 +51,7 @@ async def get_partitions( await asyncio.sleep(1) - empty_parts = {k: v for k, v in disk_partitions if v is None} + empty_parts = {k: v for k, v in disk_partitions.items() if v is None} if empty_parts: # sysfs is unpredictable AT BEST when expecting it to reliably populate # symlinks for the block devices after a partition has been written