From d184777a1b8a2cccddf6127d8ea7ce5a38d509f1 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 7 Feb 2021 18:57:47 +0100 Subject: Reworked fault handling a bit --- archinstall/lib/disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall') 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 -- cgit v1.2.3-70-g09d2