[Bluetooth2] fixed the execution of the toggle state

This commit is contained in:
Martin Morlot 2020-10-09 10:59:45 +02:00
parent 04a2ea438b
commit 1912f3053d

View file

@ -69,7 +69,7 @@ class Module(core.module.Module):
) )
logging.debug("bt: toggling bluetooth") logging.debug("bt: toggling bluetooth")
core.util.execute(cmd) util.cli.execute(cmd)
def state(self, widget): def state(self, widget):
"""Get current state.""" """Get current state."""