def datagram_received(self, data, addr):
    message = data.decode('utf8', 'replace')
    self.process_line(message)
def datagram_received(self, data, addr):
    message = data.decode('utf8', 'replace')
    self.process_line(message)