From 77035dfdcd125f9897834b4bffc0f7bd318ebf8c Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 6 Dec 2020 22:29:09 +0100 Subject: Mixup with the variable --- archinstall/lib/disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index fe255991..e7e79978 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -278,4 +278,4 @@ def harddrive(size=None, model=None, fuzzy=False): if model and (collection[drive]['model'] is None or collection[drive]['model'].lower() != model.lower()): continue - return BlockDevice(drive['path'], drive) \ No newline at end of file + return BlockDevice(collection[drive]['path'], collection[drive]) \ No newline at end of file -- cgit v1.2.3-70-g09d2