From 8d7ab3b08ec975b1acf8e65478ed38613d0b24cc Mon Sep 17 00:00:00 2001 From: Fraxinas Date: Mon, 5 Oct 2009 14:29:20 +0200 Subject: [PATCH] NFIFlash downloader: fix possible crash --- lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py index ba668f8..a1522dd 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 -- 2.7.4