Commit d5c77162 authored by Vincent POLLET's avatar Vincent POLLET
Browse files

Fix __enter__ and __exit__ of StreamFile

parent f6956c39
......@@ -567,10 +567,10 @@ class StreamFile():
else:
self.camera_config = None
def __enter__():
def __enter__(self):
pass
def __exit__():
def __exit__(self, exc_type, exc_val, exc_tb):
if self.hdf5_file is not None:
self.hdf5_file.close()
......
Supports Markdown
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