Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo committed Jun 7, 2024
1 parent 1cbd44f commit a41cdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion truenas_installer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a41cdfc

Please sign in to comment.