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 committed by Robert Jordens
parent 53cef7e695
commit fa609283d5
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,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":