mlb and milb recent game debugging

This commit is contained in:
Chuck
2025-07-21 22:07:21 -05:00
parent 7c83717ca8
commit 78a63d5cea
4 changed files with 64 additions and 32 deletions

View File

@@ -1111,7 +1111,9 @@ class NFLUpcomingManager(BaseNFLManager): # Renamed class
# Limit to the specified number of upcoming games (default 10)
upcoming_games_to_show = self.nfl_config.get("upcoming_games_to_show", 10)
self.logger.debug(f"[NFL Upcoming] Limiting to {upcoming_games_to_show} games (found {len(team_games)} total)")
team_games = team_games[:upcoming_games_to_show]
self.logger.debug(f"[NFL Upcoming] After limiting: {len(team_games)} games")
# Log changes or periodically
should_log = (