Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 22:02:41 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 22:02:41 +0100
commit0f2d61ba08485a52429ddee9d3e4a9bd5a976200 (patch)
treed867d4d037d550512956b3ed1668410394433c25 /archinstall
parentace6beb209675e77fab3eb307d9fff48559adfb1 (diff)
selecting disk by id/size should return a BlockDevice()
Diffstat (limited to 'archinstall')
-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 2f3c122f..fe255991 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 drive \ No newline at end of file
+ return BlockDevice(drive['path'], drive) \ No newline at end of file