WirelesslanSetup : No append same ESSID in apListParse
authorChang.H.S <jhs@dev3>
Wed, 6 Jul 2011 11:53:47 +0000 (20:53 +0900)
committerChang.H.S <jhs@dev3>
Wed, 6 Jul 2011 11:53:47 +0000 (20:53 +0900)
lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py

index 0567187..daeb389 100755 (executable)
@@ -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