Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAggam Rahamim <agamclass@gmail.com>2021-04-27 12:40:05 +0300
committerAggam Rahamim <agamclass@gmail.com>2021-04-27 12:40:05 +0300
commitfa9a08b86dd902ef5c5277b098fc22031de271df (patch)
tree2e7ab7011fbce40054a7f7d6bd4fa4950b143311
parente25018131756757999bbe8ba8e54ec3ae8224c7d (diff)
having ability to use multiple kernels - dict fix
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index ddc4d06f..4df1d9de 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -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"):