Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSteven Lee <stevenlee123@protonmail.com>2021-11-19 14:09:47 +1100
committerSteven Lee <stevenlee123@protonmail.com>2021-11-19 14:09:47 +1100
commit91d030a09c26f56ece0de72e3536ad31d48595ec (patch)
tree7cb45b216096ff972658216de96d9927469fa80a /examples
parent5ec690da939ff5b2efb3ba2ffe177cb035c25ee6 (diff)
source code improvement
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 0d56540a..a43aff5b 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -113,7 +113,7 @@ def ask_user_questions():
# Get disk encryption password (or skip if blank)
if archinstall.arguments['harddrives'] and archinstall.arguments.get('!encryption-password', None) is 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): '):
archinstall.arguments['!encryption-password'] = passwd
if archinstall.arguments['harddrives'] and archinstall.arguments.get('!encryption-password', None):