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:
Maxi Padulo 2016-01-12 13:01:10 +01:00 committed by enkore
parent 6520d1e770
commit f12d1f9d48

View File

@ -88,7 +88,7 @@ class Module(SettingsBase):
self.__log_button_event(button, cb, args, "Member callback")
getattr(self, cb)(*args)
else:
self.__log_event(button, cb, args, "External command")
self.__log_button_event(button, cb, args, "External command")
execute(cb, detach=True)
# Notify status handler