From 4b9300f5fb63cc0038163ba3e3bcfd559540f80c Mon Sep 17 00:00:00 2001 From: hoamer Date: Wed, 15 Jan 2020 12:23:28 +0100 Subject: [PATCH] fixed unintentionally changed line --- bumblebee/modules/battery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/modules/battery.py b/bumblebee/modules/battery.py index 535d38b..66485a5 100644 --- a/bumblebee/modules/battery.py +++ b/bumblebee/modules/battery.py @@ -96,7 +96,7 @@ class Module(bumblebee.engine.Module): output = "{} {}".format(output, self.remaining()) if bumblebee.util.asbool(self.parameter("showdevice", False)): - output = "{} ({})".format(output, r.read()) + output = "{} ({})".format(output, os.path.basename(widget.name)) return output