From 9718c64ca7b8002daaa20dc2cbdcffd760b17b0d Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Wed, 16 Nov 2022 00:34:24 +1100 Subject: Fix 1562 (#1564) Co-authored-by: Daniel Girtler --- archinstall/lib/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib/configuration.py') diff --git a/archinstall/lib/configuration.py b/archinstall/lib/configuration.py index ce782f6c..ad537b21 100644 --- a/archinstall/lib/configuration.py +++ b/archinstall/lib/configuration.py @@ -15,7 +15,7 @@ from .exceptions import RequirementError def configuration_sanity_check(): disk_encryption: DiskEncryption = storage['arguments'].get('disk_encryption') - if disk_encryption.hsm_device: + if disk_encryption is not None and disk_encryption.hsm_device: if not Fido2.get_fido2_devices(): raise RequirementError( f"In order to use HSM to pair with the disk encryption," -- cgit v1.2.3-70-g09d2