This commit is contained in:
Lucas committed 2022-03-31 00:39:55 -04:00
1 parent 504b5156f8
commit 9eec037efe
1 file changed
+3 -3
+3 -3
View File
@@ -33,9 +33,9 @@ def is_work_time(now):
return now < WORK_STOP and now > WORK_START
def format_text(text):
text = text[:16]
text += f"\n" + text[16:]
return text
formatted = text[:16]
formatted += f"\n" + text[16:]
return formatted
def update_display(color, text, cursor = False, blink = False):
print(text)