X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/4b058610123896242bfefcb0c55873fb0d2a6a93..2c9a0e18d4ad0b5a73abb5466ea2f70b61daf7fa:/lib/python/Components/Converter/StringList.py diff --git a/lib/python/Components/Converter/StringList.py b/lib/python/Components/Converter/StringList.py index 5d02e9ba..c9488db0 100644 --- 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]