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-09-30 09:14:17 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-09-30 09:14:17 +0000
commitfad2c36cd281398c1a59937256530d2d2cde055e (patch)
tree56cca56b973dedd9d733370bf4f5850e68c91686 /archinstall/lib
parent85fd06fa8a20a1861c9ec0d8e15da954fe5cdd43 (diff)
Fixed a type-o
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/user_interaction.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index 4fc6c8d9..c2f8ac38 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -52,10 +52,11 @@ def select_profile(options):
# Some crude safety checks, make sure the imported profile has
# a __name__ check and if so, check if it's got a _prep_function()
# we can call to ask for more user input.
- if '__name__' in source_data and '_prep_function' in source_data
+ if '__name__' in source_data and '_prep_function' in source_data:
with profile.load_instructions() as imported:
if hasattr(imported, '_prep_function'):
return profile, imported
+
return selected_profile
raise RequirementError("Selecting profiles require a least one profile to be given as an option.")