mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-22 00:31:37 +03:00
Correct bug with server in version 1.5.1
This commit is contained in:
parent
5ba69df379
commit
499cced514
@ -832,7 +832,10 @@ class glancesStats:
|
|||||||
# SENSORS
|
# SENSORS
|
||||||
if (self.client_tag):
|
if (self.client_tag):
|
||||||
if input_stats != {}:
|
if input_stats != {}:
|
||||||
|
try:
|
||||||
self.sensors = input_stats["sensors"]
|
self.sensors = input_stats["sensors"]
|
||||||
|
except:
|
||||||
|
self.sensors = {}
|
||||||
else:
|
else:
|
||||||
if (sensors_tag):
|
if (sensors_tag):
|
||||||
self.sensors = self.glancesgrabsensors.get()
|
self.sensors = self.glancesgrabsensors.get()
|
||||||
|
Loading…
Reference in New Issue
Block a user