diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2010-06-14 12:59:12 +0200 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2010-06-14 13:02:30 +0200 |
| commit | 7c42f86e02b3ab79a8d4366d2b74e01e490e46f1 (patch) | |
| tree | 4bcfa0f92b3316e7f3fe930d1012407ed5df14e6 /lib/python/Components | |
| parent | 681626f670c65e4ab063dd08840559c767da32fb (diff) | |
| download | enigma2-7c42f86e02b3ab79a8d4366d2b74e01e490e46f1.tar.gz enigma2-7c42f86e02b3ab79a8d4366d2b74e01e490e46f1.zip | |
fix-fix configlist assertion (add #188)
Diffstat (limited to 'lib/python/Components')
| -rwxr-xr-x | lib/python/Components/ConfigList.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
