obspy.core.util.misc.CaptureIO.close

CaptureIO.close()

Flush and close the IO object.

This method has no effect if the file is already closed.