diff --git a/.bin/Scripts/functions/hw_diags.py b/.bin/Scripts/functions/hw_diags.py index 2a486d36..39789149 100644 --- a/.bin/Scripts/functions/hw_diags.py +++ b/.bin/Scripts/functions/hw_diags.py @@ -603,7 +603,7 @@ def post_drive_results(ticket_number): report.append('') # SMART Short test result - if TESTS['NVMe/SMART']['Short Test'][name]: + if TESTS['NVMe/SMART']['Short Test'].get(name, False): report.append('SMART short test result: {}'.format( TESTS['NVMe/SMART']['Short Test'][name])) report.append('')