forked from M-Labs/artiq
1
0
Fork 0

worker: use unix time for HDF5 start_time

This commit is contained in:
Sebastien Bourdeauducq 2016-05-03 21:29:54 +08:00
parent 7976127f6c
commit c50555e11c
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ def main():
dataset_mgr.write_hdf5(f.create_group("datasets")) dataset_mgr.write_hdf5(f.create_group("datasets"))
f["artiq_version"] = artiq_version f["artiq_version"] = artiq_version
f["rid"] = rid f["rid"] = rid
f["start_time"] = start_time f["start_time"] = int(time.mktime(start_time))
f["expid"] = pyon.encode(expid) f["expid"] = pyon.encode(expid)
put_object({"action": "completed"}) put_object({"action": "completed"})
elif action == "examine": elif action == "examine":