Mixup with the variable

This commit is contained in:
Anton Hvornum 2020-12-06 22:29:09 +01:00
parent 3715e3a11b
commit 77035dfdcd
1 changed files with 1 additions and 1 deletions

View File

@ -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)
return BlockDevice(collection[drive]['path'], collection[drive])