Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1450, in expose self.on_draw(ctx) File "/usr/share/screenlets/ACPIBattery/ACPIBatteryScreenlet.py", line 198, in on_draw (charge_status,present_rate,remaining,last_full)=self.getValue() File "/usr/share/screenlets/ACPIBattery/ACPIBatteryScreenlet.py", line 189, in getValue if int(present_rate)==0: present_rate='1000'; UnboundLocalError: local variable 'present_rate' referenced before assignment