From: Fraxinas Date: Mon, 5 Oct 2009 12:29:20 +0000 (+0200) Subject: NFIFlash downloader: fix possible crash X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=8d7ab3b08ec975b1acf8e65478ed38613d0b24cc;ds=sidebyside NFIFlash downloader: fix possible crash --- 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