From 243e4b326ca4535c2de459ae52d2bad792cead6a Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Fri, 21 Apr 2017 08:32:06 +0530 Subject: [PATCH] remove unused variable --- bumblebee/modules/battery.py | 1 - 1 file changed, 1 deletion(-) 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