Commit a584bc96 authored by Robert McGibbon's avatar Robert McGibbon
Browse files

whoops

parent c099c6d5
...@@ -107,6 +107,7 @@ class CheckpointReporter(object): ...@@ -107,6 +107,7 @@ class CheckpointReporter(object):
self._out.seek(0) self._out.seek(0)
chk = simulation.context.createCheckpoint() chk = simulation.context.createCheckpoint()
self._out.write(chk) self._out.write(chk)
self._out.truncate()
self._out.flush() self._out.flush()
def __del__(self): def __del__(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment