index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-04-09 08:05:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-09 08:05:42 +0000 |
commit | e5c118239bb0fe473841fea1704dc754dd4b41cc (patch) | |
tree | cf1c415ba13d4e9dd2af7180492b8202642c549d | |
parent | f45429b099d1f22a925b8387e17ab11d675793d0 (diff) | |
parent | acc2dac6527b5f7553a7066f80cc0680d328d31e (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 33abbefb..1f5924e4 100644 --- a/archinstall/lib/user_interaction.py +++ b/archinstall/lib/user_interaction.py @@ -220,7 +220,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: |