Commit b9257624 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

Merge branch 'fix-avs-cli-await-py3' into 'master'

Fix call handler on cli object_parser.

See merge request !4158
parents 4d3140c9 f6fc9f9c
Pipeline #25692 passed with stages
in 39 minutes and 59 seconds
......@@ -304,7 +304,7 @@ class CLI(BaseCLI):
self.logger.debug("Match: %s", rx.pattern)
matched = buffer[: match.start()]
buffer = self.buffer[match.end() :]
r = handler(matched, match)
r = await handler(matched, match)
if r is not None:
self.logger.debug("Prompt matched")
done = True
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment