mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-21 08:11:39 +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
|
||||
if (self.client_tag):
|
||||
if input_stats != {}:
|
||||
self.sensors = input_stats["sensors"]
|
||||
try:
|
||||
self.sensors = input_stats["sensors"]
|
||||
except:
|
||||
self.sensors = {}
|
||||
else:
|
||||
if (sensors_tag):
|
||||
self.sensors = self.glancesgrabsensors.get()
|
||||
|
Loading…
Reference in New Issue
Block a user