From c4f4dc8efc46ea752bb3b353ac3cd8c5e4fa626b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Tue, 13 Feb 2024 18:33:36 +0100 Subject: [PATCH] data to strings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/exampleReceiver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/exampleReceiver.py b/server/exampleReceiver.py index 91aea50..0e31287 100644 --- a/server/exampleReceiver.py +++ b/server/exampleReceiver.py @@ -33,9 +33,9 @@ while True: artNet.art_pol_reply(tuple_ip) # Gets whatever the last Art-Net packet we received is artNetPacket = artNet.readPacket() - print("Packet: "+artNetPacket) - print("Universe: "+artNetPacket.universe) - print("Data: "+artNetPacket.data) + print("Packet: "+str(artNetPacket)) + print("Universe: "+str(artNetPacket.universe)) + print("Data: "+str(artNetPacket.data)) print(" ") # Make sure we actually *have* a packet if artNetPacket is not None and artNetPacket.data is not None: