added full ip

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-13 17:51:47 +01:00
parent 480844e99f
commit 17571a32cc
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ artnetUniverse = 0
# Creates Artnet socket on the selected IP and Port
artNet = Artnet.Artnet(BINDIP = get_eth0_ip(), DEBUG = True, SHORTNAME = "PiXelTubeMaster", LONGNAME = "PiXelTubeMaster", REFRESH = 60)
tuple_ip = tuple(str(get_eth0_ip()).split(".")[:-1])+(255,)
tuple_ip = tuple(str(get_eth0_ip()).split("."))
print(tuple_ip)