diff options
Diffstat (limited to 'pexpect/async.py')
-rw-r--r-- | pexpect/async.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pexpect/async.py b/pexpect/async.py index 5e5e9ee..ad75994 100644 --- a/pexpect/async.py +++ b/pexpect/async.py @@ -37,7 +37,7 @@ class PatternWaiter(asyncio.Protocol): def data_received(self, data): spawn = self.expecter.spawn - s = spawn._coerce_read_string(data) + s = spawn._decoder.decode(data) spawn._log(s, 'read') if self.fut.done(): |