indiv-screenlets-dev team mailing list archive
-
indiv-screenlets-dev team
-
Mailing list archive
-
Message #00124
[Bug 790745] Re: SysmonitorScreenlet.py throwing unreferenced variable error
** Patch added: "Patch"
https://bugs.launchpad.net/bugs/790745/+attachment/2149101/+files/SysmonitorScreenlet.patch
--
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/790745
Title:
SysmonitorScreenlet.py throwing unreferenced variable error
Status in Screenlets — individual widgets development:
New
Bug description:
Small bugfix for the sysmonitor screenlet, which throws the following
error message on every refresh:
UnboundLocalError: local variable 'b' referenced before assignment
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/screenlets/__init__.py", line 1942, in expose
self.on_draw(ctx)
File "/usr/share/screenlets/screenlets-pack-basic/Sysmonitor/SysmonitorScreenlet.py", line 676, in on_draw
m = m + 60 + b
References