parent
835ed070e5
commit
bfe5d8f493
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ class Module(core.module.Module):
|
||||||
for battery in glob.glob("/sys/class/power_supply/BAT*")
|
for battery in glob.glob("/sys/class/power_supply/BAT*")
|
||||||
]
|
]
|
||||||
if len(self._batteries) == 0:
|
if len(self._batteries) == 0:
|
||||||
raise Exceptions("no batteries configured/found")
|
raise Exception("no batteries configured/found")
|
||||||
core.input.register(
|
core.input.register(
|
||||||
self, button=core.input.LEFT_MOUSE, cmd="gnome-power-statistics"
|
self, button=core.input.LEFT_MOUSE, cmd="gnome-power-statistics"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue