diff --git a/server/app.py b/server/app.py index 33c1c78..f3f9838 100644 --- a/server/app.py +++ b/server/app.py @@ -158,7 +158,7 @@ def start_mqtt_publishers(universe_count): print(str(universes_to_publish)) for universe in universes_to_publish: print(str(universe)) - threads = [threading.Thread(target=mqtt_publisher, args=(int(universe),))] + threads = [threading.Thread(target=mqtt_publisher, args=(universe,))] for thread in threads: thread.start()