def __call__(self, obj, *args): loggers.signalLogger(obj, self.signal, *args) if self.callback: self.result = self.callback(obj, *args) else: self.result = False return self.result
def __call__(self, obj, *args): loggers.signalLogger(obj, self.signal, *args) if self.callback: return self.callback(obj, *args) return False