Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-10-18 12:51:33 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-10-18 12:51:33 +0200
commitd95b9156817353436900b09d393c06dd05d46a9f (patch)
treeee402a841ece54bfb826a08b8061c53b5b646aef /archinstall/lib
parent36868425877249d9bfd9664e617a6b7d8df81e1c (diff)
Logical issue with how I'm used to dealing with selecting list indexes.
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/user_interaction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index 0e3c2e64..e01859b3 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -25,7 +25,7 @@ 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 = options[int(selected_option)-1]
+ selected_option = options[int(selected_option)]
elif selected_option in options:
pass # We gave a correct absolute value
else: