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>2021-12-31 12:33:01 +0100
committerAnton Hvornum <anton@hvornum.se>2021-12-31 12:33:01 +0100
commitcad911893d653f612c1570ed1bdc7b82df3d9ab8 (patch)
tree728dc983fa1bcc9198ee19eb8097e30574a3eceb /examples
parentc6b499cf47fac7a02714e590cf662a85db3095b1 (diff)
Bringing in changes from v2.3.1-dev branch. This fixes a selection of things mentioned in #819.
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 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)