From 9681f4c10e54ac10f611bae827c33a68d81a98af Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Sat, 12 Sep 2015 11:43:29 +0100 Subject: Fix for pxssh when reading unicode --- pexpect/pxssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pexpect/pxssh.py b/pexpect/pxssh.py index c5cbd35..fdae691 100644 --- a/pexpect/pxssh.py +++ b/pexpect/pxssh.py @@ -172,7 +172,7 @@ class pxssh (spawn): # maximum time for reading the entire prompt total_timeout = timeout_multiplier * 3.0 - prompt = b'' + prompt = self.string_type() begin = time.time() expired = 0.0 timeout = first_char_timeout -- cgit v1.2.1