def dowork(self, result):
        cb = get_cbapi(self.service)

        if self.configuration.get("inputtype", "cbevent") == "cbevent":
            return self.do_cbevent(cb, result)
        else:
            return self.do_genericevent(cb, result)
예제 #2
0
 def dowork(self, result):
     cb = get_cbapi(self.service)
     return self.do_cbevent(cb, result)