From 689a699de00f82e002a8feba4d19677ec253cd15 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 24 Jul 2018 08:53:23 +0200 Subject: Print zmq_remote received messages nicely --- doc/zmq_remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/zmq_remote.py b/doc/zmq_remote.py index b491800..56465d3 100755 --- a/doc/zmq_remote.py +++ b/doc/zmq_remote.py @@ -51,7 +51,7 @@ if socks: print("Received: {}".format(len(data))) for i,part in enumerate(data): - print(" RX {}: {}".format(i, part.decode().replace('\n',''))) + print(" RX {}: {}".format(i, part.decode().replace('\n',' '))) else: print("ZMQ error: timeout") -- cgit v1.2.3