index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2022-08-10 12:57:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 12:57:32 +0200 |
commit | 259aaa488428aa5647d27ebb8e4678829e793dc2 (patch) | |
tree | 8a715445b7d7c4d2bf516d95bdfbfee519b43b7c /archinstall/lib | |
parent | 242f8076bb7679a565433e30c61662c70f37b06f (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 2 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index a0bcc2a6..798801aa 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -219,7 +219,7 @@ class Installer: """ if partition.get("mountpoint") is None: if (sub_list := partition.get("btrfs",{}).get('subvolumes',{})): - for mountpoint in [sub_list[subvolume] if isinstance(sub_list[subvolume],str) else sub_list[subvolume].get("mountpoint") for subvolume in sub_list if sub_list[subvolume]]: + for mountpoint in [sub_list[subvolume].get("mountpoint") if isinstance(subvolume, dict) else subvolume.mountpoint for subvolume in sub_list]: if mountpoint == '/': return True return False |