Merge pull request #68 from meain/remove-unused
Remove unused variable in battery module
This commit is contained in:
commit
7153c5fa0d
1 changed files with 0 additions and 1 deletions
|
@ -32,7 +32,6 @@ class Module(bumblebee.engine.Module):
|
|||
return "{:03d}%".format(self._capacity)
|
||||
|
||||
def update(self, widgets):
|
||||
widget = widgets[0]
|
||||
self._ac = False
|
||||
if not os.path.exists(self._path):
|
||||
self._ac = True
|
||||
|
|
Loading…
Reference in a new issue