forked from M-Labs/artiq
master/worker_db: set default value for archive
This commit is contained in:
parent
5d184f8061
commit
6aa13fbf25
|
@ -221,7 +221,7 @@ class DatasetManager:
|
||||||
index = slice(*index)
|
index = slice(*index)
|
||||||
setitem(target, index, value)
|
setitem(target, index, value)
|
||||||
|
|
||||||
def get(self, key, archive):
|
def get(self, key, archive=False):
|
||||||
if key in self.local:
|
if key in self.local:
|
||||||
return self.local[key]
|
return self.local[key]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue