mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-10 06:54:45 +00:00
parent
ffead9e240
commit
20f2040a1a
@ -225,7 +225,7 @@ def main_lin(pid_path):
|
|||||||
break
|
break
|
||||||
|
|
||||||
clients = []
|
clients = []
|
||||||
start_server = websockets.serve(handler, "127.0.0.1", 5678)
|
start_server = websockets.serve(handler, "0.0.0.0", 5678)
|
||||||
|
|
||||||
asyncio.get_event_loop().run_until_complete(start_server)
|
asyncio.get_event_loop().run_until_complete(start_server)
|
||||||
threading.Thread(target = asyncio.get_event_loop().run_forever).start()
|
threading.Thread(target = asyncio.get_event_loop().run_forever).start()
|
||||||
|
Loading…
Reference in New Issue
Block a user