from Components.ConfigList import ConfigListScreen
from Components.Label import Label
from Components.Pixmap import Pixmap
from Components.ConfigList import ConfigListScreen
from Components.Label import Label
from Components.Pixmap import Pixmap
def __init__(self, session, setup):
Screen.__init__(self, session)
def __init__(self, session, setup):
Screen.__init__(self, session)
item_text = _(x.getAttribute("text").encode("UTF-8") or "??")
b = eval(XMLTools.mergeText(x.childNodes));
if b == "":
item_text = _(x.getAttribute("text").encode("UTF-8") or "??")
b = eval(XMLTools.mergeText(x.childNodes));
if b == "":
item = b
# the first b is the item itself, ignored by the configList.
# the second one is converted to string.
item = b
# the first b is the item itself, ignored by the configList.
# the second one is converted to string.
- list.append( (item_text, item) )
+ if not isinstance(item, ConfigNothing):
+ list.append( (item_text, item) )