diff options
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/MovieList.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py index 82d2c56b..bc659114 100644 --- a/lib/python/Components/MovieList.py +++ b/lib/python/Components/MovieList.py @@ -63,7 +63,8 @@ class MovieList(HTMLComponent, GUIComponent): return self.instance.getCurrentIndex() def getCurrent(self): - return self.l.getCurrentSelection()[0] + l = self.l.getCurrentSelection() + return l and l[0] def GUIcreate(self, parent): self.instance = eListbox(parent) |
