[all] black code :)
This commit is contained in:
parent
320827d577
commit
92577e7d26
14 changed files with 291 additions and 192 deletions
|
@ -66,9 +66,7 @@ class Module(core.module.Module):
|
|||
|
||||
widget = self.widget(display)
|
||||
if not widget:
|
||||
widget = self.add_widget(
|
||||
full_text=display, name=display
|
||||
)
|
||||
widget = self.add_widget(full_text=display, name=display)
|
||||
core.input.register(widget, button=1, cmd=self._toggle)
|
||||
core.input.register(widget, button=3, cmd=self._toggle)
|
||||
widget.set("state", "on" if m else "off")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue