fix
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 3 Apr 2006 15:01:49 +0000 (15:01 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 3 Apr 2006 15:01:49 +0000 (15:01 +0000)
lib/python/Components/MovieList.py

index 2a3cd91..3b7e7e3 100644 (file)
@@ -61,7 +61,7 @@ class MovieList(HTMLComponent, GUIComponent):
 
        def getCurrent(self):
                l = self.l.getCurrentSelection()
 
        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)
 
        def GUIcreate(self, parent):
                self.instance = eListbox(parent)