index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-04-22 10:31:32 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-04-22 10:31:32 +0200 |
commit | 4d65639724e1402ef584221bbbb0e80dba827ab7 (patch) | |
tree | 9aa6b6d0e9d839a328df57bf42f2003f2b16c5a1 /archinstall/lib | |
parent | 46b872aa61e0f07fd561a4e14083a30a3d039d38 (diff) |
-rw-r--r-- | archinstall/lib/user_interaction.py | 7 |
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py index 1cfe5490..e0761e07 100644 --- a/archinstall/lib/user_interaction.py +++ b/archinstall/lib/user_interaction.py @@ -351,9 +351,10 @@ def select_profile(options): selected_profile = generic_select(profiles, 'Enter a pre-programmed profile name if you want to install one: ', options_output=False) - return Profile(None, selected_profile) - - raise RequirementError("Selecting profiles require a least one profile to be given as an option.") + if selected_profile: + return Profile(None, selected_profile) + else: + raise RequirementError("Selecting profiles require a least one profile to be given as an option.") def select_language(options, show_only_country_codes=True): """ |