def act_server(self, msg): """Act on server data""" display = translate_in(msg, None, timestamp=True) if display: print(display)
def act_server(self, msg): """Act on server data""" display = translate_in(msg, self) if display: self.terminal.write(display)