Fix issue #21
This commit is contained in:
parent
77f3458d71
commit
b080200118
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ def scan_disks():
|
||||||
else:
|
else:
|
||||||
# Skip WizardKit devices
|
# Skip WizardKit devices
|
||||||
wk_label = '{}_LINUX'.format(KIT_NAME_SHORT)
|
wk_label = '{}_LINUX'.format(KIT_NAME_SHORT)
|
||||||
if wk_label not in [c.get('label', '') for c in d['children']]:
|
if wk_label not in [c.get('label', '') for c in d.get('children', [])]:
|
||||||
devs[d['name']] = {'lsblk': d}
|
devs[d['name']] = {'lsblk': d}
|
||||||
TESTS['NVMe/SMART']['Status'][d['name']] = 'Pending'
|
TESTS['NVMe/SMART']['Status'][d['name']] = 'Pending'
|
||||||
TESTS['badblocks']['Status'][d['name']] = 'Pending'
|
TESTS['badblocks']['Status'][d['name']] = 'Pending'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue