Value comparison error for dropping into shell (#1441)
* Changed choice to choice.value.
This commit is contained in:
parent
6f41262229
commit
ee64276f0e
|
|
@ -268,7 +268,7 @@ def perform_installation(mountpoint):
|
|||
if not archinstall.arguments.get('silent'):
|
||||
prompt = str(_('Would you like to chroot into the newly created installation and perform post-installation configuration?'))
|
||||
choice = Menu(prompt, Menu.yes_no(), default_option=Menu.yes()).run()
|
||||
if choice == Menu.yes():
|
||||
if choice.value == Menu.yes():
|
||||
try:
|
||||
installation.drop_to_shell()
|
||||
except:
|
||||
|
|
|
|||
Loading…
Reference in New Issue