projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
657d18c
)
WirelessLanSetup : fix bug (AP's protocol info is None)
author
Chang.H.S
<jhs@dev3>
Mon, 21 May 2012 08:49:35 +0000
(17:49 +0900)
committer
Chang.H.S
<jhs@dev3>
Mon, 21 May 2012 08:49:35 +0000
(17:49 +0900)
lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py
patch
|
blob
|
history
diff --git
a/lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py
b/lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py
index
3207bb8
..
a62f94e
100755
(executable)
--- a/
lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py
+++ b/
lib/python/Plugins/SystemPlugins/WirelessLanSetup/plugin.py
@@
-1037,7
+1037,7
@@
class WlanScanAp(Screen,HelpableScreen):
self["menulist"].setList(self.setApList)
index = self["menulist"].getCurrent()[1]
for key in ["Address", "ESSID", "Protocol", "Frequency", "Encryption key", "BitRate"]:
self["menulist"].setList(self.setApList)
index = self["menulist"].getCurrent()[1]
for key in ["Address", "ESSID", "Protocol", "Frequency", "Encryption key", "BitRate"]:
- if self.apList[index].has_key(key):
+ if self.apList[index].has_key(key)
and self.apList[index][key] is not None
:
self[key].setText((key+": "+self.apList[index][key]))
else:
self[key].setText((key+": None"))
self[key].setText((key+": "+self.apList[index][key]))
else:
self[key].setText((key+": None"))