Mixup with the variable
This commit is contained in:
parent
3715e3a11b
commit
77035dfdcd
|
|
@ -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()):
|
if model and (collection[drive]['model'] is None or collection[drive]['model'].lower() != model.lower()):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
return BlockDevice(drive['path'], drive)
|
return BlockDevice(collection[drive]['path'], collection[drive])
|
||||||
Loading…
Reference in New Issue