mirror of https://github.com/nicolargo/glances
Add catch for Wifi cell
parent
80c79402a8
commit
3e0947fd13
|
@ -128,6 +128,9 @@ on Debian/Ubuntu you need to install first the *python-dev* package.
|
|||
For Fedora/CentOS/RHEL install first *python-devel* package. For Windows,
|
||||
just install psutil from the binary installation file.
|
||||
|
||||
*Note 2 (for the Wifi plugin)*: If you want to use the Wifi plugin, you need
|
||||
to install the *wireless-tools* package on your system.
|
||||
|
||||
You can also install the following libraries in order to use optional
|
||||
features (like the Web interface, exports modules, sensors...):
|
||||
|
||||
|
|
|
@ -103,6 +103,10 @@ class Plugin(GlancesPlugin):
|
|||
except InterfaceError:
|
||||
# Not a Wifi interface
|
||||
pass
|
||||
except Exception as e:
|
||||
# Other error
|
||||
logger.debug("WIFI plugin: Can not grab cellule stats ({})".format(e))
|
||||
pass
|
||||
else:
|
||||
for wifi_cell in wifi_cells:
|
||||
hotspot = {
|
||||
|
|
Loading…
Reference in New Issue