** 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/501155
Title:
[Sensors] net_get_activity (device); don't work when len(device) >= 4
Status in Screenlets — individual widgets development:
Fix Released
Bug description:
You put constant when searching for activity of device witch name has
more than four characters.
Your code: data = data[data.find(device + ":") + 5:]
Repaired: data = data[data.find(device + ":") + len(device) + 1:]
or you can just put into first line: grep 'device'
To manage notifications about this bug go to:
https://bugs.launchpad.net/indiv-screenlets/+bug/501155/+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