Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/disk.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index c1db3dc9..85b08bc0 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -142,7 +142,8 @@ class Partition():
self.target_mountpoint = mountpoint
self.filesystem = filesystem
self.size = size # TODO: Refresh?
- self._encrypted = encrypted
+ self._encrypted = None
+ self.encrypted = encrypted
self.allow_formatting = False # A fail-safe for unconfigured partitions, such as windows NTFS partitions.
if mountpoint:
@@ -161,7 +162,7 @@ class Partition():
self.filesystem = fstype
if self.filesystem == 'crypto_LUKS':
- self._encrypted = True
+ self.encrypted = True
def __lt__(self, left_comparitor):
if type(left_comparitor) == Partition: