last
This commit is contained in:
@@ -221,7 +221,7 @@ def draw_weather(surface: pygame.Surface, fonts: dict, x: int, y: int) -> None:
|
||||
surface.blit(fonts['medium'].render('Weather loading…', True, DIM_GRAY), (x, y))
|
||||
return
|
||||
|
||||
idx = int(_time.time() / 5) % len(all_data)
|
||||
idx = int(_time.time() / 10) % len(all_data)
|
||||
data = all_data[idx]
|
||||
week = data.get('week', [])
|
||||
hours = data.get('hours', [])
|
||||
|
||||
Reference in New Issue
Block a user