git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15bcc29
)
self.index can be None
author
Felix Domke
<tmbinc@elitedvb.net>
Mon, 24 Sep 2007 00:48:34 +0000
(
00:48
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Mon, 24 Sep 2007 00:48:34 +0000
(
00:48
+0000)
lib/python/Components/Converter/StringList.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/Converter/StringList.py
b/lib/python/Components/Converter/StringList.py
index 5d02e9bad269178c07dd374c77b8b54d23a075a1..c9488db02216b7ca7df30f3d60e8ac3f5ac80e22 100644
(file)
--- a/
lib/python/Components/Converter/StringList.py
+++ b/
lib/python/Components/Converter/StringList.py
@@
-25,7
+25,7
@@
class StringList(Converter):
@cached
def getCurrent(self):
- if self.source is None or self.index >= len(self.source.list):
+ if self.source is None or self.index
is None or self.index
>= len(self.source.list):
return None
return self.source.list[self.index]