display: log handling improved
This commit is contained in:
parent
3840b15d7d
commit
c6ed5bcf6e
|
@ -37,7 +37,8 @@ class Display(object):
|
|||
self.display_text(machineName.replace(" ", "\n"))
|
||||
|
||||
def display_text(self, message):
|
||||
logger.info(f"Displaying message {message}")
|
||||
text = message.replace("\n", " ")
|
||||
logger.info(f"Displaying message {text}")
|
||||
|
||||
# Clear display.
|
||||
self.__clear()
|
||||
|
|
Loading…
Reference in a new issue