mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 05:13:01 +00:00
nhl upcoming game fitler from 'is_coming' to 'is_within_window
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user