nhl upcoming game fitler from 'is_coming' to 'is_within_window

This commit is contained in:
ChuckBuilds
2025-04-27 14:37:25 -05:00
parent 4522c4bfed
commit 856b85f796

View File

@@ -768,7 +768,7 @@ class NHLUpcomingManager(BaseNHLManager):
new_upcoming_games = [] new_upcoming_games = []
for event in events: for event in events:
game = self._extract_game_details(event) game = self._extract_game_details(event)
if game and not game['is_final'] and game['is_upcoming']: if game and not game['is_final'] and game['is_within_window']:
new_upcoming_games.append(game) new_upcoming_games.append(game)
# Filter for favorite teams # Filter for favorite teams