From 7b62f10f12d20e9592ee5f6744d1e1b1f68f0e12 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sun, 5 Jul 2020 13:13:09 +0100 Subject: [PATCH] python: flush output buffer in communicate() --- python/villas/node/communicate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/villas/node/communicate.py b/python/villas/node/communicate.py index 0a2a0c8ed..91996e098 100644 --- a/python/villas/node/communicate.py +++ b/python/villas/node/communicate.py @@ -57,6 +57,7 @@ class SendThread(Thread): sample = Sample(ts, values) sys.stdout.write(str(sample) + '\n') + sys.stdout.flush() self.sequence += 1