Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-08-29 00:19:20 +0200
committerGitHub <noreply@github.com>2022-08-29 00:19:20 +0200
commitee64276f0e3651367de51e1423f3767dde1be525 (patch)
tree87a4e7342c50d750bf2bfab762896eee84c58630 /examples
parent6f412622292f64587848e0f03e65eab7eb4cd0e3 (diff)
Value comparison error for dropping into shell (#1441)
* Changed choice to choice.value.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
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: