summaryrefslogtreecommitdiffstats
path: root/doc/zmq_remote.py
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-07-24 08:53:23 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-07-24 08:53:23 +0200
commit689a699de00f82e002a8feba4d19677ec253cd15 (patch)
treeae44d5ade2d427e77fcee89f8b5627debf79f915 /doc/zmq_remote.py
parent12d4feb0ef21d7ceb20a2af3c7970fabea015e61 (diff)
downloaddabmux-689a699de00f82e002a8feba4d19677ec253cd15.tar.gz
dabmux-689a699de00f82e002a8feba4d19677ec253cd15.tar.bz2
dabmux-689a699de00f82e002a8feba4d19677ec253cd15.zip
Print zmq_remote received messages nicely
Diffstat (limited to 'doc/zmq_remote.py')
-rwxr-xr-xdoc/zmq_remote.py2
1 files changed, 1 insertions, 1 deletions
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")