X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FConfigList.py;h=24f917f76398c109e1f1000914248296fdfcaf06;hb=096e5476ffe567b3a22b8838c28a45dff4e10c5d;hp=ffbc69af254c344f62cfd6882bc15bafd6743abc;hpb=896c84d2406e5c2a16a98539f10b9695027eace9;p=vuplus_dvbapp diff --git a/lib/python/Components/ConfigList.py b/lib/python/Components/ConfigList.py index ffbc69a..24f917f 100755 --- a/lib/python/Components/ConfigList.py +++ b/lib/python/Components/ConfigList.py @@ -88,7 +88,7 @@ class ConfigList(HTMLComponent, GUIComponent, object): if l is not None: for x in l: - assert isinstance(x[1], ConfigElement), "entry in ConfigList " + str(x[1]) + " must be a ConfigElement" + assert len(x) < 2 or isinstance(x[1], ConfigElement), "entry in ConfigList " + str(x[1]) + " must be a ConfigElement" def getList(self): return self.__list