diff --git a/bumblebee/modules/battery.py b/bumblebee/modules/battery.py index 90e58f6..5384716 100644 --- a/bumblebee/modules/battery.py +++ b/bumblebee/modules/battery.py @@ -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