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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 5a2857f3..52afffcf 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -18,7 +18,7 @@ class BlockDevice():
if not info:
# If we don't give any information, we need to auto-fill it.
# Otherwise any subsequent usage will break.
- info = all_disks().get(path, {})
+ info = all_disks()[path].info
self.path = path
self.info = info