X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FMovieList.py;fp=lib%2Fpython%2FComponents%2FMovieList.py;h=3b7e7e3647e3b24a481110fcdb729aedfaa4ea12;hb=b7bc48591d6c61ba70cf68cd1d356c6abb1d9f2e;hp=2a3cd910fea6b0c88f8ea9836e952de61b42e63d;hpb=a80c8953ab5dafd0eb96b9cc19f8c5cb84dcd8e2;p=vuplus_dvbapp diff --git a/lib/python/Components/MovieList.py b/lib/python/Components/MovieList.py index 2a3cd91..3b7e7e3 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)