diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2010-07-22 19:37:35 +0200 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2010-10-06 11:03:56 +0200 |
| commit | ddef990f9a2b56ef9c63dda46d1b84c9438410c5 (patch) | |
| tree | 9872b570993f54cd14e93ecfb0372074596c6fad /lib/python/Components/config.py | |
| parent | 57275452069078c5aeaaf1785ff178419c864eb4 (diff) | |
| download | enigma2-ddef990f9a2b56ef9c63dda46d1b84c9438410c5.tar.gz enigma2-ddef990f9a2b56ef9c63dda46d1b84c9438410c5.zip | |
fixes bug #556
- fixes adding timers from inside the movie player: the .ts service was added as channel
- fixes a small bug in ConfigSelection to allow empty strings inside the ChoicesList
Diffstat (limited to 'lib/python/Components/config.py')
| -rwxr-xr-x | lib/python/Components/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 471b59ec..1afd398e 100755 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -178,7 +178,7 @@ class choicesList(object): # XXX: we might want a better name for this def __list__(self): if self.type == choicesList.LIST_TYPE_LIST: - ret = [not isinstance(x, tuple) and x or x[0] for x in self.choices] + ret = [not isinstance(x, tuple) and x or len(x) > 0 and x[0] or len(x) == 0 and x for x in self.choices] else: ret = self.choices.keys() return ret or [""] |
