Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-11-20 22:21:00 +0000
committerGitHub <noreply@github.com>2021-11-20 22:21:00 +0000
commit66e23af42290cf998b966523d4520a2110b0806b (patch)
tree5dcc6c9b47cf9cf6ecafb47fbe717c2581133c1e /examples/guided.py
parent627b6b5207beffee2ed9507933cebe780c62a11d (diff)
parent91d030a09c26f56ece0de72e3536ad31d48595ec (diff)
Merge PR #739 - Added @staticmethod decorators
source code improvement
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index dd0d54de..8486521d 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):