index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-03-29 08:56:41 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-03-29 08:56:41 +0200 |
commit | a156f224a87a02d6b0f9a54eef2ce18e418e5187 (patch) | |
tree | 469d052a6ecfd4498125f4f77eafb5d3a8ec8bb0 /archinstall | |
parent | 6cba404b75abb3faa939c8d6c7e29610591f3cc3 (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 5 |
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: |