From ef27551ee4a0777426d418d513a922fcd7c29e48 Mon Sep 17 00:00:00 2001 From: Nahuel Lofeudo Date: Sat, 20 May 2023 17:29:10 +0100 Subject: [PATCH] Fix typo in function signature --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 33eb9c3..35b8067 100755 --- a/main.py +++ b/main.py @@ -69,7 +69,7 @@ def write_line(line: int, text: str, text_color: Color = COLOR_LCD_AMBER): window.blit(text_img, dest=(XOFFSET_ROUTE, vertical_offset)) -def update_screen(config: Config(), updates: list[ArrivalTime]) -> None: +def update_screen(config: Config, updates: list[ArrivalTime]) -> None: """ Repaint the screen with the new arrival times """ updates = updates[0:LINE_COUNT] # take the first X lines for line_num, update in enumerate(updates):