index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/user_interaction.py | 7 |
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py index f87f83be..f0260488 100644 --- a/archinstall/lib/user_interaction.py +++ b/archinstall/lib/user_interaction.py @@ -963,7 +963,12 @@ def select_harddrives(preset : List[str] = []) -> List[str]: """ hard_drives = all_blockdevices(partitions=False).values() options = {f'{option}': option for option in hard_drives} - preset_disks = {f'{option}':option for option in preset} + + if preset: + preset_disks = {f'{option}':option for option in preset} + else: + preset_disks = {} + selected_harddrive = Menu( _('Select one or more hard drives to use and configure'), list(options.keys()), |