mirror of
https://github.com/xcat2/confluent.git
synced 2026-05-07 17:27:16 +00:00
Fix await of vnc client create
This commit is contained in:
@@ -530,7 +530,7 @@ async def do_vnc(node, url, cwidth, cheight, streaming=False):
|
||||
retries = 5
|
||||
while keeprunning:
|
||||
try:
|
||||
async with vnc.VNCClient.create(url) as client:
|
||||
async with await vnc.VNCClient.create(url) as client:
|
||||
while True:
|
||||
# Retrieve pixels as a 3D numpy array
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user