[modules/battery] Fix syntax error

see #221
This commit is contained in:
Tobias Witek 2018-01-11 20:22:21 +01:00
parent bbfb6fc095
commit f236c24b92
3 changed files with 13 additions and 3 deletions

View file

@ -17,6 +17,9 @@ class Module(bumblebee.engine.Module):
)
self._text = self.parameter("text", "")
def update(self, widgets):
raise Exception("test")
def text(self, widget):
return self._text