having ability to use multiple kernels - dict fix

This commit is contained in:
Aggam Rahamim 2021-04-27 12:40:05 +03:00
parent e250181317
commit fa9a08b86d
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ def ask_user_questions():
# Ask what kernel user wants:
while True:
kernel = generic_select(["linux", "linux-lts", "linux-zen", "continue"], "choose a kernel:")
if (archinstall.arguments['kernels'] == None or archinstall.arguments['kernels'] == ""):
if (archinstall.arguments.get("kernels", None) == None):
archinstall.arguments['kernels'] = kernel
else:
if (kernel == "continue"):