globalize result

Signed-off-by: Ebbe Baß <ebbe.bass>
main
Ebbe Baß 2024-02-17 15:58:59 +01:00
parent 75b7a5bf23
commit dae2602838
1 changed files with 1 additions and 0 deletions

View File

@ -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()