Merge pull request #68 from meain/remove-unused

Remove unused variable in battery module
This commit is contained in:
tobi-wan-kenobi 2017-04-21 07:21:13 +02:00 committed by GitHub
commit 7153c5fa0d

View file

@ -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