aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/MovieList.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/MovieList.py')
-rw-r--r--lib/python/Components/MovieList.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py
index 2a3cd910..3b7e7e36 100644
--- a/lib/python/Components/MovieList.py
+++ b/lib/python/Components/MovieList.py
@@ -61,7 +61,7 @@ class MovieList(HTMLComponent, GUIComponent):
def getCurrent(self):
l = self.l.getCurrentSelection()
- return l or l[0]
+ return l and l[0]
def GUIcreate(self, parent):
self.instance = eListbox(parent)