def __init__(self, *args, **kwargs): self.log = logging.getLogger(__name__) self.service_center_instance = enigma.eServiceCenter.getInstance() self.encoding = kwargs.get("encoding", "utf-8") self.rt = kwargs.get("rt") # OR MAYBE: ["timer_list", "processed_timers"] ? self.sources = kwargs.get("sources", ["timer_list"]) self.egon = EventsController()
def __init__(self, *args, **kwargs): RESTControllerSkeleton.__init__(self, *args, **kwargs) self.ec_instance = EventsController()
def __init__(self, *args, **kwargs): TwoFaceApiController.__init__(self, *args, **kwargs) self.log = logging.getLogger(__name__) self.session = kwargs.get("session") self.ec = EventsController() self.mc = RecordingsController()