[Sensors] sensors module: sensors_get_sensors_list() hddtemp bug
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Individual Screenlets |
Fix Released
|
Medium
|
Unassigned |
Bug Description
In the module "sensors" there is a little bug in "sensors_
The return() is wrongly indented and is not called in normal function.
starting with line 921:
if res[0] == 0:
try:
hddtemp_data = res[1].
sol = hddtemp_
for i in sol:
if len(i)>1:
lst = i.split('|')
output.
except:
print(_('Error during hddtemp drives search'))
else:
print(_('Hddtemp not installed'))
return output
So this return only need to be indented correctly (one tab-stop less) so it look like:
-----
else:
print(_('Hddtemp not installed'))
return output
----
best regards
cmichael
Changed in screenlets: | |
status: | New → Fix Committed |
affects: | screenlets → indiv-screenlets |
summary: |
- sensors module: sensors_get_sensors_list() hddtemp bug + [Sensors] sensors module: sensors_get_sensors_list() hddtemp bug |
Changed in indiv-screenlets: | |
importance: | Undecided → Medium |
Changed in indiv-screenlets: | |
status: | Fix Committed → Fix Released |