X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/4fb2d81afcc8bc781ee8c705dca2488fef201c51..28049a70f8d591d4b6f61ce30c8066e2c00fc6aa:/lib/python/Components/ConfigList.py diff --git a/lib/python/Components/ConfigList.py b/lib/python/Components/ConfigList.py index 5a02c38d..24f917f7 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, ConfigElement), "entry in ConfigList " + str(x) + " 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