data to strings

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 18:33:36 +01:00
parent 651eab50ba
commit c4f4dc8efc
1 changed files with 3 additions and 3 deletions

View File

@ -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: