From cad911893d653f612c1570ed1bdc7b82df3d9ab8 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 31 Dec 2021 12:33:01 +0100 Subject: Bringing in changes from v2.3.1-dev branch. This fixes a selection of things mentioned in #819. --- examples/guided.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/guided.py') diff --git a/examples/guided.py b/examples/guided.py index 2352b749..e8efb6cb 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -97,7 +97,7 @@ def ask_user_questions(): if archinstall.arguments.get('harddrives', None) is None: archinstall.arguments['harddrives'] = archinstall.select_harddrives() - if archinstall.arguments.get('harddrives', None) is not None and archinstall.storage.get('disk_layouts', None) is None: + if archinstall.arguments.get('harddrives', None) and archinstall.storage.get('disk_layouts', None) is None: archinstall.storage['disk_layouts'] = archinstall.select_disk_layout(archinstall.arguments['harddrives'], archinstall.arguments.get('advanced', False)) # Get disk encryption password (or skip if blank) -- cgit v1.2.3-54-g00ecf