Lift restriction that "run" cannot be used as a callback
This commit is contained in:
parent
5dbb8b6cac
commit
d018be872a
@ -101,7 +101,6 @@ class Module(SettingsBase):
|
|||||||
elif our_method:
|
elif our_method:
|
||||||
cb(self, *args)
|
cb(self, *args)
|
||||||
elif hasattr(self, cb):
|
elif hasattr(self, cb):
|
||||||
if cb is not "run":
|
|
||||||
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user