Fixed telemeter rendering
This commit is contained in:
parent
45822e5aec
commit
08e112f538
|
@ -183,8 +183,7 @@ class Sensor():
|
|||
|
||||
@property
|
||||
def data(self):
|
||||
if not self.synthesized:
|
||||
if self._data == None or (self._stale_time != None and time.time() > self.last_update+self._stale_time):
|
||||
if self._data == None or (not self.synthesized and (self._stale_time != None and time.time() > self.last_update+self._stale_time)):
|
||||
try:
|
||||
self.update_data()
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue