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-03-29 07:35:04 +0000
committerGitHub <noreply@github.com>2021-03-29 07:35:04 +0000
commit5e3a1523644abe3dc0c06ff17dbaeafb5a3cbda4 (patch)
treee9556862c88a43d88ba2f18ddfcd187285baedb4 /examples
parent6cba404b75abb3faa939c8d6c7e29610591f3cc3 (diff)
parented565e13481cce7ac3b640f0ad933605f6ad63c3 (diff)
Merge pull request #121 from Torxed/torxed-v2.2.3
Torxed v2.2.3
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 4766301e..009f9fa6 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -139,7 +139,7 @@ def ask_user_questions():
# Get disk encryption password (or skip if blank)
if not archinstall.arguments.get('!encryption-password', None):
- if passwd := archinstall.get_password(prompt='Enter disk encryption password (leave blank for no encryption): '):
+ if (passwd := archinstall.get_password(prompt='Enter disk encryption password (leave blank for no encryption): ')).strip():
archinstall.arguments['!encryption-password'] = passwd
archinstall.arguments['harddrive'].encryption_password = archinstall.arguments['!encryption-password']