Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-02-07 18:57:47 +0100
committerAnton Hvornum <anton@hvornum.se>2021-02-07 18:57:47 +0100
commitd184777a1b8a2cccddf6127d8ea7ce5a38d509f1 (patch)
tree0816f765d02552ce7283ed5c8bb2a65cbd95be22
parent4349512ef3f24c48c1c0903064d518e44c11101b (diff)
Reworked fault handling a bit
-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