Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"):