Merge "Fix TypeError found in Python 3.12"
This commit is contained in:
commit
42eb08efd6
@ -99,7 +99,7 @@ class Driver(base.DriverBase):
|
|||||||
task = asyncio.Task(coro_notification)
|
task = asyncio.Task(coro_notification)
|
||||||
task.add_done_callback(got_server)
|
task.add_done_callback(got_server)
|
||||||
|
|
||||||
loop.run_until_complete(asyncio.wait([coro, task]))
|
loop.run_until_complete(asyncio.gather(coro, task))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
loop.run_forever()
|
loop.run_forever()
|
||||||
|
Loading…
Reference in New Issue
Block a user