removed new line when ask for kernel

This commit is contained in:
Aggam Rahamim 2021-04-16 14:43:17 +03:00
parent 81b0fa1792
commit 8b9f16a028
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ def ask_user_questions():
archinstall.arguments['audio'] = None
# Ask what kernel user wants:
kernel = input("\n1. linux\n2. linux-lts\n3. linux-zen\nchoose a kernel of the following: ")
kernel = input("1. linux\n2. linux-lts\n3. linux-zen\nchoose a kernel of the following: ")
try:
archinstall.arguments['kernel'] = ['linux', 'linux-lts', 'linux-zen'][int(kernel) - 1]
except: