From 51cbec58da9b0695d0a4805ef31bc065c560b344 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 14 Mar 2021 15:32:52 +0100 Subject: Spelling error. --- 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 cf3610a1..0816f3bf 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -251,7 +251,7 @@ def perform_installation_steps(): # Partition might be marked as encrypted due to the filesystem type crypt_LUKS # But we might have omitted the encryption password question to skip encryption. # In which case partition.encrypted will be true, but passwd will be false. - if partition.encrypted and passwd := archinstall.arguments.get('!encryption-password', None): + if partition.encrypted and (passwd := archinstall.arguments.get('!encryption-password', None)): partition.encrypt(password=passwd) else: partition.format() -- cgit v1.2.3-70-g09d2