Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/disk.py')
-rw-r--r--archinstall/lib/disk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index f8bdc040..f6dc16eb 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -585,10 +585,10 @@ def get_partitions_in_use(mountpoint):
output = output.decode('UTF-8')
output = json.loads(output)
for target in output.get('filesystems', []):
- mounts.append(Partition(target['source'], filesystem=target.get('fstype', None), mountpoint=target['target']))
+ mounts.append(Partition(target['source'], None, filesystem=target.get('fstype', None), mountpoint=target['target']))
for child in target.get('children', []):
- mounts.append(Partition(child['source'], filesystem=child.get('fstype', None), mountpoint=child['target']))
+ mounts.append(Partition(child['source'], None, filesystem=child.get('fstype', None), mountpoint=child['target']))
return mounts