Skip to content
Snippets Groups Projects
Commit dce2c6df authored by Patrick Godwin's avatar Patrick Godwin
Browse files

gstlal_idq_trigger_gen: fixed bug causing header to be printed too many times to disk

parent b98eb70b
No related branches found
No related tags found
No related merge requests found
......@@ -448,7 +448,7 @@ class MultiChannelHandler(simplehandler.Handler):
except OSError:
pass
with open(tmpfile, 'w') as f:
f.write(self.header.join(self.fdata))
f.write(''.join(self.fdata))
shutil.move(tmpfile, fpath)
latency = numpy.round(int(aggregator.now()) - buftime)
print >>sys.stderr, "buftime = %d, latency at write stage = %d" % (buftime, latency)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment