master/db: fix realtime data lookup

This commit is contained in:
Sebastien Bourdeauducq 2015-01-29 21:45:24 +08:00
parent 9aa7155502
commit 7d6b93d8eb
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class ResultDB:
return self.data[name]
def set(self, name, value):
if name in self.realtime_data:
if name in self.realtime_data.read:
self.realtime_data[name] = value
else:
self.data[name] = value