Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 22:10:46 +0100
committerGitHub <noreply@github.com>2020-12-06 22:10:46 +0100
commit3715e3a11b027f6892aae02a4730a75bed2ec035 (patch)
tree172426c7d83f8188534792468ee684fd7f3e110e
parentd588d2f1eb138b9a80dfa9c07507306c6aeb1795 (diff)
parent0f2d61ba08485a52429ddee9d3e4a9bd5a976200 (diff)
Merge pull request #72 from Torxed/drive-select
selecting disk by id/size should return a BlockDevice()
-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