diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-10-05 14:29:20 +0200 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-10-05 14:29:20 +0200 |
| commit | 8d7ab3b08ec975b1acf8e65478ed38613d0b24cc (patch) | |
| tree | 4ac556a7715deef6345abe8f5b3ada30f8f9174c /lib/python/Plugins | |
| parent | aad3256fb995891065c9771bf2af8d3ad74527fc (diff) | |
| download | enigma2-8d7ab3b08ec975b1acf8e65478ed38613d0b24cc.tar.gz enigma2-8d7ab3b08ec975b1acf8e65478ed38613d0b24cc.zip | |
NFIFlash downloader: fix possible crash
Diffstat (limited to 'lib/python/Plugins')
| -rw-r--r-- | lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py | 2 |
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 |
