dumb fix
This commit is contained in:
+3
-3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user