** Changed in: indiv-screenlets
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of
Individual Screenlets Developers, which is subscribed to Individual
Screenlets.
https://bugs.launchpad.net/bugs/276206
Title:
[Sensors] sensors module: sensors_get_sensors_list() hddtemp bug
Status in Screenlets — individual widgets development:
Fix Released
Bug description:
In the module "sensors" there is a little bug in "sensors_get_sensors_list()"
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].lstrip('|').rstrip('|')
sol = hddtemp_data.split('||')
for i in sol:
if len(i)>1:
lst = i.split('|')
output.append("hddtemp sensor
"+lst[0]+": "+lst[2]+" "+lst[3])
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/indiv-screenlets/+bug/276206/+subscriptions
--
Mailing list: https://launchpad.net/~indiv-screenlets-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~indiv-screenlets-dev
More help : https://help.launchpad.net/ListHelp