Browse Source

remove 188 as pre-failed index

tags/6.3.1
Lukas 3 months ago
parent
commit
4f62f7112c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      devices.py

+ 1
- 1
devices.py View File

@@ -157,7 +157,7 @@ class Device(object):
if int(self.smart_data['199']['raw_value']) >= 500:
health = 'UDMA'

for i in [str(i) for i in [5, 187, 188, 197, 198] if str(i) in self.smart_data]: # 5:Reallocated_Sector_Ct, 187:Uncorrectable_Error_Cnt, 197:Current_Pending_Sector, 198:Uncorrectable_Sector_Count
for i in [str(i) for i in [5, 187, 197, 198] if str(i) in self.smart_data]: # 5:Reallocated_Sector_Ct, 187:Uncorrectable_Error_Cnt, 197:Current_Pending_Sector, 198:Uncorrectable_Sector_Count
sector_sum += int(self.smart_data[i]['raw_value'])

#: TODO -> INCORRECT!


Loading…
Cancel
Save