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>2021-04-14 11:55:40 +0200
committerGitHub <noreply@github.com>2021-04-14 11:55:40 +0200
commit91723e7dd99071a731e05bac45d6ea429c912c5e (patch)
tree9a27dddff7b41fb432317b5cb4cd577e29ec71df
parent7ae4b170b38b98d71dc9825c11cff2afb8644d21 (diff)
Reverted back to raise
-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 1f3ddd09..e5c32747 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -357,7 +357,7 @@ def select_language(options, show_only_country_codes=True):
selected_language = options[options.index(selected_language)]
return selected_language
else:
- print("Invalid Language please select a valid option.")
+ raise RequirementError("Selected language does not exist.")
raise RequirementError("Selecting languages require a least one language to be given as an option.")