From b7bc48591d6c61ba70cf68cd1d356c6abb1d9f2e Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 3 Apr 2006 15:01:49 +0000 Subject: [PATCH] fix --- lib/python/Components/MovieList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2