From 0e958ea177d691482c0731db79f566850b90e484 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sat, 23 Jun 2018 16:12:52 +0000 Subject: [PATCH] issue #278: tty logger Side constructed with incorrect Stream Harmless, but produced the wrong log message prefix. --- mitogen/parent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitogen/parent.py b/mitogen/parent.py index 2b2bcd2c..899f8955 100644 --- a/mitogen/parent.py +++ b/mitogen/parent.py @@ -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 = ''