summaryrefslogtreecommitdiff
path: root/pkcli_stub.py
diff options
context:
space:
mode:
Diffstat (limited to 'pkcli_stub.py')
-rw-r--r--pkcli_stub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkcli_stub.py b/pkcli_stub.py
index 1c9472f..8992949 100644
--- a/pkcli_stub.py
+++ b/pkcli_stub.py
@@ -98,7 +98,7 @@ def pty_barrier(sock):
while bytes(code) != b'\xc0\xdeack':
buffer = sock.recv()
while len(buffer) > 0:
- code = code[:-1]+buffer[0]
+ code = code[:-1]+buffer[0:1]
buffer = buffer[1:]
if bytes(code) == b'\xc0\xdeack':
break