projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
self.index can be None
[vuplus_dvbapp]
/
lib
/
python
/
Components
/
Converter
/
StringList.py
diff --git
a/lib/python/Components/Converter/StringList.py
b/lib/python/Components/Converter/StringList.py
index
5d02e9b
..
c9488db
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]