From bfe5d8f493694a813fb503b147f2ae4655aaeceb Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Fri, 15 May 2020 19:48:10 +0200 Subject: [PATCH] [module/battery] exception typo see #628 --- bumblebee_status/modules/contrib/battery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee_status/modules/contrib/battery.py b/bumblebee_status/modules/contrib/battery.py index d11358e..512866d 100644 --- a/bumblebee_status/modules/contrib/battery.py +++ b/bumblebee_status/modules/contrib/battery.py @@ -115,7 +115,7 @@ class Module(core.module.Module): for battery in glob.glob("/sys/class/power_supply/BAT*") ] if len(self._batteries) == 0: - raise Exceptions("no batteries configured/found") + raise Exception("no batteries configured/found") core.input.register( self, button=core.input.LEFT_MOUSE, cmd="gnome-power-statistics" )