提交 f90c947c 编写于 作者: N nicolargo

Crash in the Wifi plugin on my Laptop #1151

上级 2fdf249a
......@@ -11,6 +11,7 @@ Enhancements and new features:
Bugs corrected:
* Crash in the Wifi plugin on my Laptop #1151
* Failed to connect to bus: No such file or directory #1156
* glances_plugin.py has a problem with specific docker output #1160
......
......@@ -184,8 +184,9 @@ class Plugin(GlancesPlugin):
# Hotspot list (sorted by name)
for i in sorted(self.stats, key=operator.itemgetter(self.get_key())):
# Do not display hotspot with no name (/ssid)
if i['ssid'] == '':
# Do not display hotspot with no name (/ssid)...
# of ssid None... See issue #1151
if i['ssid'] == '' or i['ssid'] is None:
continue
ret.append(self.curse_new_line())
# New hotspot
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册