mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 13:23:00 +00:00
fix favorite team toggle logic being skipped
This commit is contained in:
@@ -1144,7 +1144,7 @@ class MiLBUpcomingManager(BaseMiLBManager):
|
||||
return
|
||||
|
||||
# --- Optimization: Filter for favorite teams before processing ---
|
||||
if self.milb_config.get("show_favorite_teams_only", False) and self.favorite_teams:
|
||||
if self.milb_config.get("show_favorite_teams_only", False):
|
||||
games = {
|
||||
game_id: game for game_id, game in games.items()
|
||||
if game['home_team'] in self.favorite_teams or game['away_team'] in self.favorite_teams
|
||||
|
||||
Reference in New Issue
Block a user