From 8f66bbc1008c937ef5fe79800cea9fc2049285a9 Mon Sep 17 00:00:00 2001 From: Eisbaer1832 <65364427+Eisbaer1832@users.noreply.github.com> Date: Sat, 26 Aug 2023 15:14:41 +0200 Subject: [PATCH] Update server.py Loop = loop was deprecated in a recent asyncio update. As suggested by SimLeek removing this part, fixes the startup issue. --- bindings/python/virtualreality/server/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/virtualreality/server/server.py b/bindings/python/virtualreality/server/server.py index ba222a0..0eb7a77 100644 --- a/bindings/python/virtualreality/server/server.py +++ b/bindings/python/virtualreality/server/server.py @@ -230,7 +230,7 @@ async def __call__(self, reader, writer): def run_til_dead(poser=None, conn_handle=Server()): """Run the server until it dies.""" loop = asyncio.get_event_loop() - coro = asyncio.start_server(conn_handle, *DOMAIN, loop=loop) + coro = asyncio.start_server(conn_handle, *DOMAIN) server = loop.run_until_complete(coro) if poser is not None: