From: Chang.H.S Date: Thu, 13 Dec 2012 07:04:51 +0000 (+0900) Subject: WirelessLanSetup : fix for 'ap.essid is None'. X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=0be0d94fd98c165cd33e1f6137562aa077a15c5d WirelessLanSetup : fix for 'ap.essid is None'. --- diff --git a/lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py b/lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py index 671cac9..e31075f 100755 --- a/lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py +++ b/lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py @@ -577,7 +577,7 @@ class WlanConfig(Screen, ConfigListScreen, HelpableScreen): self.emptyListMsgTimer.start(100,True) else: for ap in Iwscanresult: - if ap.essid not in self.apList and len(ap.essid) > 0: + if ap.essid is not None and ap.essid not in self.apList and len(ap.essid) > 0: self.apList.append(ap.essid) self.apList.append('Input hidden ESSID') if selectap is not None and selectap in self.apList: