mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-25 14:50:37 +01:00
Fixed telemeter rendering
This commit is contained in:
parent
45822e5aec
commit
08e112f538
@ -183,8 +183,7 @@ class Sensor():
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def data(self):
|
def data(self):
|
||||||
if not self.synthesized:
|
if self._data == None or (not self.synthesized and (self._stale_time != None and time.time() > self.last_update+self._stale_time)):
|
||||||
if self._data == None or (self._stale_time != None and time.time() > self.last_update+self._stale_time):
|
|
||||||
try:
|
try:
|
||||||
self.update_data()
|
self.update_data()
|
||||||
except:
|
except:
|
||||||
|
Loading…
Reference in New Issue
Block a user