Fix for last commit

This commit is contained in:
Anton Hvornum 2020-12-06 22:40:05 +01:00
parent 77035dfdcd
commit f7d236c00f
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(collection[drive]['path'], collection[drive])
return collection[drive]