Fix issue #26 as reported by honigbij

This commit is contained in:
Michel Oosterhof 2015-03-15 07:09:41 +00:00
parent f39e5d6491
commit 7ffd54561c
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class Interact(telnet.Telnet):
if not self.readonly:
if type(bytes) == type(''):
ttylog.ttylog_write(
self.interacting.ttylog_file,
self.interacting.terminal.transport.session.conn.transport.ttylog_file,
len(bytes), ttylog.TYPE_INTERACT, time.time(), bytes)
for c in bytes:
recvline.HistoricRecvLine.keystrokeReceived(