fixed range

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-14 19:30:33 +01:00
parent 70634f7eb5
commit 382d2c94dd
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ def connect_mqtt():
def start_mqtt_publishers(universe_count): def start_mqtt_publishers(universe_count):
used_universes = universe_count used_universes = universe_count
print("universe count: "+str(used_universes)) print("universe count: "+str(used_universes))
universe_list = list(range(1, used_universes + 1)) universe_list = list(range(0, used_universes))
# Create and start a thread for each universe # Create and start a thread for each universe
print(str(universe_list)) print(str(universe_list))
mqtt_client = connect_mqtt() mqtt_client = connect_mqtt()