aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2009-10-05 14:29:20 +0200
committerFraxinas <andreas.frisch@multimedia-labs.de>2009-10-05 14:29:20 +0200
commit8d7ab3b08ec975b1acf8e65478ed38613d0b24cc (patch)
tree4ac556a7715deef6345abe8f5b3ada30f8f9174c /lib/python
parentaad3256fb995891065c9771bf2af8d3ad74527fc (diff)
downloadenigma2-8d7ab3b08ec975b1acf8e65478ed38613d0b24cc.tar.gz
enigma2-8d7ab3b08ec975b1acf8e65478ed38613d0b24cc.zip
NFIFlash downloader: fix possible crash
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py
index ba668f8b..a1522ddb 100644
--- a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py
+++ b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py
@@ -54,7 +54,7 @@ class Feedlist(MenuList):
def isValid(self):
l = self.l.getCurrentSelection()
- if l[0] == 0:
+ if not l or l[0] == 0:
return False
else:
return True