git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
some work on DVB-T
[enigma2.git]
/
lib
/
python
/
Components
/
MovieList.py
diff --git
a/lib/python/Components/MovieList.py
b/lib/python/Components/MovieList.py
index 2e8614729c4873f69ee7fd2fc71c83350dc1b98d..3b7e7e3647e3b24a481110fcdb729aedfaa4ea12 100644
(file)
--- a/
lib/python/Components/MovieList.py
+++ b/
lib/python/Components/MovieList.py
@@
-61,9
+61,7
@@
class MovieList(HTMLComponent, GUIComponent):
def getCurrent(self):
l = self.l.getCurrentSelection()
- if l is not None:
- return self.l.getCurrentSelection()[0]
- return None
+ return l and l[0]
def GUIcreate(self, parent):
self.instance = eListbox(parent)