From 91d030a09c26f56ece0de72e3536ad31d48595ec Mon Sep 17 00:00:00 2001 From: Steven Lee Date: Fri, 19 Nov 2021 14:09:47 +1100 Subject: source code improvement --- 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 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): -- cgit v1.2.3-70-g09d2