Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorBao <qubidt@gmail.com>2023-03-30 03:08:08 -0500
committerGitHub <noreply@github.com>2023-03-30 10:08:08 +0200
commita822735dfe32f89640603cf8ee76312e952d8e00 (patch)
tree2811bc6f61cb49f412da38c01f1bbec6ea9ced13 /archinstall/lib
parentc5348564c929a2e3704593398eb305dd73bc1e4d (diff)
Guard against null in config processor (#1705)
Fixes #1704
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/configuration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/configuration.py b/archinstall/lib/configuration.py
index e0b5a143..c036783f 100644
--- a/archinstall/lib/configuration.py
+++ b/archinstall/lib/configuration.py
@@ -71,7 +71,7 @@ class ConfigurationOutput:
else:
self._user_config[key] = self._config[key]
- if key == 'disk_encryption': # special handling for encryption password
+ if key == 'disk_encryption' and self._config[key]: # special handling for encryption password
self._user_credentials['encryption_password'] = self._config[key].encryption_password
def user_config_to_json(self) -> str: