Commit 16d866dd authored by Vincent POLLET's avatar Vincent POLLET
Browse files

Fix __enter__ of StreamFile

parent 88c9adee
......@@ -25,7 +25,7 @@ class StreamFile:
self.camera_config = None
def __enter__(self):
pass
return self
def __exit__(self, exc_type, exc_val, exc_tb):
if isinstance(self.hdf5_file, HDF5File):
......
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