From 9eec037efe5ace43d351d1a64fa59df0e59a3846 Mon Sep 17 00:00:00 2001 From: Lucas Date: Thu, 31 Mar 2022 00:39:55 -0400 Subject: [PATCH] dumb fix --- pi-calendar-sign.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pi-calendar-sign.py b/pi-calendar-sign.py index 8b63c8f..afb49d1 100644 --- a/pi-calendar-sign.py +++ b/pi-calendar-sign.py @@ -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)