parent
75b7a5bf23
commit
dae2602838
|
@ -158,5 +158,6 @@ if __name__ == "__main__":
|
||||||
flask_thread = Process(target=flask_api)
|
flask_thread = Process(target=flask_api)
|
||||||
flask_thread.start()
|
flask_thread.start()
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
global result
|
||||||
publisher_thread = Process(target=start_mqtt_publishers, args=(result, ))
|
publisher_thread = Process(target=start_mqtt_publishers, args=(result, ))
|
||||||
publisher_thread.start()
|
publisher_thread.start()
|
||||||
|
|
Loading…
Reference in New Issue