Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-03-14 15:32:52 +0100
committerAnton Hvornum <anton@hvornum.se>2021-03-14 15:32:52 +0100
commit51cbec58da9b0695d0a4805ef31bc065c560b344 (patch)
tree1898e418787f4d4bdde58ff2c61f0533d4bc45d4
parent32ab44e6dab9c2374fa65a1d76af5ab0fa746ce6 (diff)
Spelling error.
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
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()