From: Fraxinas Date: Mon, 5 Oct 2009 12:29:20 +0000 (+0200) Subject: NFIFlash downloader: fix possible crash X-Git-Tag: 2.6.0~39^2~4 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/8d7ab3b08ec975b1acf8e65478ed38613d0b24cc NFIFlash downloader: fix possible crash --- 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