From c1966e6f55af3f20cbe5aae02eefe850d68c4ea3 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sun, 15 Oct 2023 01:15:14 +0800 Subject: [PATCH] woops --- connect.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/connect.py b/connect.py index b41482e..bd9a407 100644 --- a/connect.py +++ b/connect.py @@ -271,10 +271,8 @@ def catch_all(event, data): async def main(): - async with asyncio.TaskGroup() as task_group: - await sio.connect(HOST) - # task1 = task_group.create_task(sio.wait()) - await sio.wait() + await sio.connect(HOST) + await sio.wait() # await sio.emit('requireAuth', ('', {'version': '', 'protocolVersion': ''})) # await asyncio.sleep(2)