Skip to content
Snippets Groups Projects
Commit cf0b87b1 authored by Rosen Matev's avatar Rosen Matev :sunny:
Browse files

Fix async_input?

parent 4875e79a
No related branches found
No related tags found
1 merge request!188Testbench improvements and WIP alignment scenario
......@@ -313,7 +313,8 @@ async def async_input(prompt=None):
if prompt is not None:
print(prompt, end='', flush=True)
line = await reader.readline()
transport.close()
# FIXME we can't really close here as a second call to async_input fails
# transport.close()
return line.decode("utf8").rstrip("\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment