Fix handler not executing external cmd (#301)
Wrong name on function call was raising AttributeError exception disrutping the code execution.
This commit is contained in:
parent
6520d1e770
commit
de8b03f4bd
@ -88,7 +88,7 @@ class Module(SettingsBase):
|
|||||||
self.__log_button_event(button, cb, args, "Member callback")
|
self.__log_button_event(button, cb, args, "Member callback")
|
||||||
getattr(self, cb)(*args)
|
getattr(self, cb)(*args)
|
||||||
else:
|
else:
|
||||||
self.__log_event(button, cb, args, "External command")
|
self.__log_button_event(button, cb, args, "External command")
|
||||||
execute(cb, detach=True)
|
execute(cb, detach=True)
|
||||||
|
|
||||||
# Notify status handler
|
# Notify status handler
|
||||||
|
Loading…
Reference in New Issue
Block a user