From e131b75fd194db84a37f2395b5ab88093e09192f Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Thu, 15 Jun 2006 15:16:44 +0000 Subject: [PATCH 1/1] fix config entries not existing at all time --- lib/python/Screens/ChannelSelection.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py index d4a52799..df1bd6c0 100644 --- a/lib/python/Screens/ChannelSelection.py +++ b/lib/python/Screens/ChannelSelection.py @@ -836,17 +836,17 @@ class ChannelSelectionBase(Screen): HISTORYSIZE = 20 +#config for lastservice +config.tv = ConfigSubsection(); +config.tv.lastservice = configElement("config.tv.lastservice", configText, "", 0); +config.tv.lastroot = configElement("config.tv.lastroot", configText, "", 0); + class ChannelSelection(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelectionEPG): def __init__(self, session): ChannelSelectionBase.__init__(self,session) ChannelSelectionEdit.__init__(self) ChannelSelectionEPG.__init__(self) - #config for lastservice - config.tv = ConfigSubsection(); - config.tv.lastservice = configElement("config.tv.lastservice", configText, "", 0); - config.tv.lastroot = configElement("config.tv.lastroot", configText, "", 0); - self["actions"] = ActionMap(["OkCancelActions"], { "cancel": self.cancel, -- 2.30.2