index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-10-18 12:04:27 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-10-18 12:04:27 +0200 |
commit | ec49a42f2bdd0917c7a0c5a3c2e224d49f554359 (patch) | |
tree | 19f7a039d6b5e25135fddeade9e99b61ec2f45e6 | |
parent | 973abec8549c5fb5a85f889b2c8f80f50b8e2a7b (diff) |
-rw-r--r-- | archinstall/lib/user_interaction.py | 4 |
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py index e5ca01d3..0e3c2e64 100644 --- a/archinstall/lib/user_interaction.py +++ b/archinstall/lib/user_interaction.py @@ -25,8 +25,8 @@ def generic_select(options, input_text="Select one of the above by index or abso selected_option = input(input_text) if selected_option.isdigit(): - selected_option = dict_o_disks[int(selected_option)-1] - elif selected_option in dict_o_disks: + selected_option = options[int(selected_option)-1] + elif selected_option in options: pass # We gave a correct absolute value else: raise RequirementError(f'Selected option "{selected_option}" does not exist in available options: {options}') |