parent
a6c648602b
commit
c4f7266a77
|
@ -155,7 +155,7 @@ def start_mqtt_publishers(universe_count):
|
||||||
print("universe count: "+str(used_universes))
|
print("universe count: "+str(used_universes))
|
||||||
universes_to_publish = list(range(1, used_universes + 1))
|
universes_to_publish = list(range(1, used_universes + 1))
|
||||||
# Create and start a thread for each universe
|
# Create and start a thread for each universe
|
||||||
print(universes_to_publish)
|
print(str(universes_to_publish))
|
||||||
for universe in range(universes_to_publish):
|
for universe in range(universes_to_publish):
|
||||||
print(universe)
|
print(universe)
|
||||||
threads = [threading.Thread(target=mqtt_publisher, args=(int(universe),))]
|
threads = [threading.Thread(target=mqtt_publisher, args=(int(universe),))]
|
||||||
|
|
Loading…
Reference in New Issue