forked from M-Labs/artiq
master/db: fix realtime data lookup
This commit is contained in:
parent
9aa7155502
commit
7d6b93d8eb
|
@ -20,7 +20,7 @@ class ResultDB:
|
||||||
return self.data[name]
|
return self.data[name]
|
||||||
|
|
||||||
def set(self, name, value):
|
def set(self, name, value):
|
||||||
if name in self.realtime_data:
|
if name in self.realtime_data.read:
|
||||||
self.realtime_data[name] = value
|
self.realtime_data[name] = value
|
||||||
else:
|
else:
|
||||||
self.data[name] = value
|
self.data[name] = value
|
||||||
|
|
Loading…
Reference in New Issue