diff --git a/geomagio/edge/MiniSeedInputClient.py b/geomagio/edge/MiniSeedInputClient.py index 0e6a20728718ab4adc9f2e653125fa3b66c99fdc..65949dd8dd2709e921ddaedce7949e942b059b2d 100644 --- a/geomagio/edge/MiniSeedInputClient.py +++ b/geomagio/edge/MiniSeedInputClient.py @@ -73,4 +73,4 @@ class MiniSeedInputClient(object): buf = io.BytesIO() stream.write(buf, format="MSEED") # send data - self.socket.sendall(buf.read()) + self.socket.sendall(buf.getvalue())