From 382d2c94dd6cdefccf80d86294773026de5b3a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Wed, 14 Feb 2024 19:30:33 +0100 Subject: [PATCH] fixed range MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.py b/server/app.py index cd8bfa5..613c797 100644 --- a/server/app.py +++ b/server/app.py @@ -114,7 +114,7 @@ def connect_mqtt(): def start_mqtt_publishers(universe_count): used_universes = universe_count 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 print(str(universe_list)) mqtt_client = connect_mqtt()