summaryrefslogtreecommitdiff
path: root/pexpect/pxssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'pexpect/pxssh.py')
-rw-r--r--pexpect/pxssh.py2
1 files changed, 1 insertions, 1 deletions
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