Commit f6fc9f9c authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Fix call handler on cli object_parser.

parent 5dde6f38
Pipeline #25687 passed with stages
in 13 minutes and 52 seconds
......@@ -297,7 +297,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