Skip to content
Snippets Groups Projects
Commit 2e1c1505 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix file opening

parent 2965982a
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ from km3pipe.io import CHPump
class MSGDumper(Module):
def configure(self):
self.filename = self.get('filename', default='MSG.log')
self.fobj = open(os.path.abspath(self.filename))
self.fobj = open(os.path.abspath(self.filename), 'a')
def process(self, blob):
data = blob['CHData']
......
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