diff --git a/server/app.py b/server/app.py index 49de2af..975617e 100644 --- a/server/app.py +++ b/server/app.py @@ -158,5 +158,6 @@ if __name__ == "__main__": flask_thread = Process(target=flask_api) flask_thread.start() time.sleep(1) + global result publisher_thread = Process(target=start_mqtt_publishers, args=(result, )) publisher_thread.start()