From 0be0d94fd98c165cd33e1f6137562aa077a15c5d Mon Sep 17 00:00:00 2001 From: "Chang.H.S" Date: Thu, 13 Dec 2012 16:04:51 +0900 Subject: [PATCH] WirelessLanSetup : fix for 'ap.essid is None'. --- lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.7.4