original code
self.eDVBCIUIInstance = eDVBCI_UI.getInstance() self.eDVBCIUIInstance and self.eDVBCIUIInstance.ciStateChanged.get().append(self.ciModuleStateChanged)
def changed(self, what): if what == True or what[0] == self.CHANGED_SPECIFIC and what[1] == iPlayableService.evStart: string = "" NUM_CI = BoxInfo.getItem("CommonInterface") if NUM_CI and NUM_CI > 0: if self.eDVBCIUIInstance: