From de8b03f4bdf2258163dabe1a8cb015d9f0927d52 Mon Sep 17 00:00:00 2001 From: Maxi Padulo Date: Tue, 12 Jan 2016 13:01:10 +0100 Subject: [PATCH] Fix handler not executing external cmd (#301) Wrong name on function call was raising AttributeError exception disrutping the code execution. --- i3pystatus/core/modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3pystatus/core/modules.py b/i3pystatus/core/modules.py index b2ec722..f38cc6a 100644 --- a/i3pystatus/core/modules.py +++ b/i3pystatus/core/modules.py @@ -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