issue #278: tty logger Side constructed with incorrect Stream

Harmless, but produced the wrong log message prefix.
This commit is contained in:
David Wilson 2018-06-23 16:12:52 +00:00
parent 04b65020ac
commit 0e958ea177
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ class TtyLogStream(mitogen.core.BasicStream):
"""
def __init__(self, tty_fd, stream):
self.receive_side = mitogen.core.Side(stream, tty_fd)
self.receive_side = mitogen.core.Side(self, tty_fd)
self.transmit_side = self.receive_side
self.stream = stream
self.buf = ''