Commit 28f66d32 authored by peastman's avatar peastman
Browse files

Fixed error appending to DCD files

parent 24dd6efa
......@@ -57,7 +57,7 @@ class DCDReporter(object):
self._reportInterval = reportInterval
self._append = append
if append:
mode = 'a+b'
mode = 'r+b'
else:
mode = 'wb'
self._out = open(file, mode)
......
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