def write(self, data):
    filtered = self.pipe(data)
    if (filtered is not False):
        self.terminal_controller.write(filtered)
def write(self, data):
    filtered = self.pipe(data)
    if (filtered is not False):
        self.terminal_controller.write(filtered)