Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-10-18 12:04:27 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-10-18 12:04:27 +0200
commitec49a42f2bdd0917c7a0c5a3c2e224d49f554359 (patch)
tree19f7a039d6b5e25135fddeade9e99b61ec2f45e6
parent973abec8549c5fb5a85f889b2c8f80f50b8e2a7b (diff)
Wrong variable name (from a copy paste issue)
-rw-r--r--archinstall/lib/user_interaction.py4
1 files changed, 2 insertions, 2 deletions
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}')