parent
cef018cdbf
commit
bc1390ceca
|
@ -150,6 +150,8 @@ def mqtt_publisher():
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
global result
|
||||||
|
result = None
|
||||||
tube_index_updater_thread = Process(target=update_tube_index)
|
tube_index_updater_thread = Process(target=update_tube_index)
|
||||||
tube_index_updater_thread.start()
|
tube_index_updater_thread.start()
|
||||||
flask_thread = Process(target=flask_api)
|
flask_thread = Process(target=flask_api)
|
||||||
|
|
Loading…
Reference in New Issue