Label failing disk attributes in reports

This commit is contained in:
2Shirt 2019-11-18 20:18:22 -07:00
parent a71d56e473
commit b1a68e20d7
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -316,7 +316,9 @@ class DiskObj():
if ATTRIBUTES[attr_type][k][_t]:
if v['raw'] >= ATTRIBUTES[attr_type][k][_t]:
_color = COLORS[_c]
if _t == 'Maximum':
if _t == 'Error':
_note = '(failed)'
elif _t == 'Maximum':
_note = '(invalid?)'
# 199/C7 warning