Browse Source

improved: added some bad sektor values

tags/6.3.0
lukas 6 months ago
parent
commit
a05b7a51ab
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, 197, 198] if str(i) in self.smart_data]: # Reallocated_Sector_Ct, Current_Pending_Sector, Uncorrectable_Sector_Count
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
sector_sum += int(self.smart_data[i]['raw_value'])

#: TODO -> INCORRECT!


Loading…
Cancel
Save