From: Chang.H.S Date: Wed, 6 Jul 2011 11:53:47 +0000 (+0900) Subject: WirelesslanSetup : No append same ESSID in apListParse X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=12945c6c6f91f155f143c05b0fa2cdf8febaf8ae WirelesslanSetup : No append same ESSID in apListParse --- diff --git a/lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py b/lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py index 0567187..daeb389 100755 --- a/lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py +++ b/lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py @@ -537,7 +537,7 @@ class WlanConfig(Screen, ConfigListScreen, HelpableScreen): list = data.splitlines() for x in list: xx = x.lstrip() - if xx.startswith('ESSID:') and len(xx)>8: + if xx.startswith('ESSID:') and len(xx)>8 and xx[7:-1]not in self.apList: self.apList.append(xx[7:-1]) self.apList.append('Input hidden ESSID') # print "###### selectap : ",selectap