index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Insanemal <insanemal@gmail.com> | 2021-04-09 13:44:51 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-09 13:44:51 +1000 |
commit | acc2dac6527b5f7553a7066f80cc0680d328d31e (patch) | |
tree | 49b44bdbf6d2e857aa1622e827e805b240a6a6d5 /archinstall | |
parent | 303dbd567ac2dd7507cbec2e9b5e39775fc04f2e (diff) |
-rw-r--r-- | archinstall/lib/user_interaction.py | 2 |
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py index 3830962c..f8585595 100644 --- a/archinstall/lib/user_interaction.py +++ b/archinstall/lib/user_interaction.py @@ -184,7 +184,7 @@ def generic_select(options, input_text="Select one of the above by index or abso return None elif selected_option.isdigit(): selected_option = int(selected_option) - if selected_option >= len(options): + if selected_option > len(options): raise RequirementError(f'Selected option "{selected_option}" is out of range') selected_option = options[selected_option] elif selected_option in options: |