Skip to content

Commit ce00acd

Browse files
committed
fixed comparison str with EncryptionType
1 parent cb7492e commit ce00acd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

archinstall/lib/disk/disk_menu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ def _prev_disk_encryption(self, item: MenuItem) -> str | None:
256256
return tr('LVM disk encryption with more than 2 partitions is currently not supported')
257257

258258
if enc_config:
259-
enc_type = EncryptionType.type_to_text(enc_config.encryption_type)
260-
output = tr('Encryption type') + f': {enc_type}\n'
259+
enc_type = enc_config.encryption_type
260+
output = tr('Encryption type') + f': {EncryptionType.type_to_text(enc_type)}\n'
261261

262262
if enc_config.encryption_password:
263263
output += tr('Password') + f': {enc_config.encryption_password.hidden()}\n'

0 commit comments

Comments
 (0)