diff --git a/mycroft/client/enclosure/mark1/mouth.py b/mycroft/client/enclosure/mark1/mouth.py index ea98a2c935e6..78301e21688d 100644 --- a/mycroft/client/enclosure/mark1/mouth.py +++ b/mycroft/client/enclosure/mark1/mouth.py @@ -108,11 +108,8 @@ def __display(self, code, clear_previous, x_offset, y_offset): message = "mouth.icon=" + x_offset + y_offset + clear_previous + code # Check if message exceeds Arduino's serial buffer input limit 64 bytes if len(message) > 60: - message1 = message[:31] - message2 = message[31:] - message1 += "$" - message2 += "$" - message2 = "mouth.icon=" + message2 + message1 = message[:31] + "$" + message2 = "mouth.icon=$" + message[31:] self.writer.write(message1) time.sleep(0.25) # writer bugs out if sending messages too rapidly self.writer.write(message2)