diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2010-06-14 12:59:12 +0200 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-10-06 23:45:05 +0200 |
| commit | 8916a028519e706f6b7764839e1adc1d25eddac1 (patch) | |
| tree | 3a316f200abf031cf1ea6de3a042f5731b582b99 /lib/python/Components | |
| parent | 37d2d80ce2ebf47bd1a6d46a71dd90dd53065068 (diff) | |
| download | enigma2-8916a028519e706f6b7764839e1adc1d25eddac1.tar.gz enigma2-8916a028519e706f6b7764839e1adc1d25eddac1.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 |
