From ee64276f0e3651367de51e1423f3767dde1be525 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 29 Aug 2022 00:19:20 +0200 Subject: Value comparison error for dropping into shell (#1441) * Changed choice to choice.value. --- examples/guided.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/guided.py b/examples/guided.py index ffbc6226..6f289caa 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -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: -- cgit v1.2.3-54-g00ecf