Fix typo in function signature

This commit is contained in:
Nahuel Lofeudo 2023-05-20 17:29:10 +01:00
parent 9b43a973ee
commit ef27551ee4
1 changed files with 1 additions and 1 deletions

View File

@ -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):