diff --git a/NEWS b/NEWS index 7779a2e4..26a2ddb6 100644 --- a/NEWS +++ b/NEWS @@ -22,8 +22,8 @@ Bugs corrected: * ERROR -- Can not grab extended stats (invalid attr name 'num_fds') #1351 * Action on port/web plugins is not working #1358 * Support for monochrome (serial) terminals e.g. vt220 #1362 + * TypeError on opening (Wifi plugin) #1373 * Some field name are incorrect in CSV export #1372 - * TypeError on opening (Wifi plugin) #1373 Others: diff --git a/glances/plugins/glances_wifi.py b/glances/plugins/glances_wifi.py index 130a3a42..e0a512d3 100644 --- a/glances/plugins/glances_wifi.py +++ b/glances/plugins/glances_wifi.py @@ -178,8 +178,8 @@ 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)... - # of ssid None... See issue #1151 - if i['ssid'] == '' or i['ssid'] is None: + # of ssid/signal None... See issue #1151 and #issue1973 + if i['ssid'] == '' or i['ssid'] is None or i['signal'] is None: continue ret.append(self.curse_new_line()) # New hotspot