parent
04a5dbc19d
commit
ac14cce7b5
|
@ -130,7 +130,8 @@ if __name__ == "__main__":
|
||||||
flask_thread.start()
|
flask_thread.start()
|
||||||
|
|
||||||
index_updater = asyncio.get_event_loop()
|
index_updater = asyncio.get_event_loop()
|
||||||
index_updater.run_forever(tube_index_updater())
|
asyncio.ensure_future(tube_index_updater())
|
||||||
|
index_updater.run_forever()
|
||||||
|
|
||||||
# Create and start a thread for each universe
|
# Create and start a thread for each universe
|
||||||
mqtt_client = connect_mqtt()
|
mqtt_client = connect_mqtt()
|
||||||
|
|
Loading…
Reference in New Issue