summaryrefslogtreecommitdiff
path: root/pkctl.py
diff options
context:
space:
mode:
Diffstat (limited to 'pkctl.py')
-rw-r--r--pkctl.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkctl.py b/pkctl.py
index 79e325d..3709a3b 100644
--- a/pkctl.py
+++ b/pkctl.py
@@ -121,8 +121,6 @@ def attach_cmd():
tty.tcsetattr(sys.stdin.fileno(), tty.TCSAFLUSH, stdin_mode)
pty_mode = False
print('turned off pty mode due to npty command')
- if len(data) > 6:
- pnnl(str(data[6:], 'utf-8'))
elif not pty_mode and data == b'\xc0\xdepty':
pty_mode = True
stdin_mode = tty.tcgetattr(sys.stdin.fileno())