mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 05:13:01 +00:00
Fix test mode in NHL managers - Fix logo path construction in test game data - Add game_time and game_date to test game data
This commit is contained in:
@@ -269,8 +269,10 @@ class NHLLiveManager(BaseNHLManager):
|
|||||||
"away_score": "2",
|
"away_score": "2",
|
||||||
"period": 2,
|
"period": 2,
|
||||||
"clock": "12:34",
|
"clock": "12:34",
|
||||||
"home_logo_path": self.logo_dir / "TBL.png",
|
"home_logo_path": os.path.join(self.logo_dir, "TBL.png"),
|
||||||
"away_logo_path": self.logo_dir / "DAL.png"
|
"away_logo_path": os.path.join(self.logo_dir, "DAL.png"),
|
||||||
|
"game_time": "7:30 PM",
|
||||||
|
"game_date": "Apr 17"
|
||||||
}
|
}
|
||||||
logging.info("[NHL] Initialized NHLLiveManager with test game: TBL vs DAL")
|
logging.info("[NHL] Initialized NHLLiveManager with test game: TBL vs DAL")
|
||||||
else:
|
else:
|
||||||
@@ -419,8 +421,10 @@ class NHLRecentManager(BaseNHLManager):
|
|||||||
"home_score": "4",
|
"home_score": "4",
|
||||||
"away_score": "2",
|
"away_score": "2",
|
||||||
"status_text": "Final",
|
"status_text": "Final",
|
||||||
"home_logo_path": self.logo_dir / "TBL.png",
|
"home_logo_path": os.path.join(self.logo_dir, "TBL.png"),
|
||||||
"away_logo_path": self.logo_dir / "DAL.png"
|
"away_logo_path": os.path.join(self.logo_dir, "DAL.png"),
|
||||||
|
"game_time": "7:30 PM",
|
||||||
|
"game_date": "Apr 17"
|
||||||
}
|
}
|
||||||
logging.info("[NHL] Initialized NHLRecentManager with test game: TBL vs DAL")
|
logging.info("[NHL] Initialized NHLRecentManager with test game: TBL vs DAL")
|
||||||
else:
|
else:
|
||||||
@@ -548,8 +552,10 @@ class NHLUpcomingManager(BaseNHLManager):
|
|||||||
"home_abbr": "TBL",
|
"home_abbr": "TBL",
|
||||||
"away_abbr": "DAL",
|
"away_abbr": "DAL",
|
||||||
"status_text": "7:30 PM ET",
|
"status_text": "7:30 PM ET",
|
||||||
"home_logo_path": self.logo_dir / "TBL.png",
|
"home_logo_path": os.path.join(self.logo_dir, "TBL.png"),
|
||||||
"away_logo_path": self.logo_dir / "DAL.png"
|
"away_logo_path": os.path.join(self.logo_dir, "DAL.png"),
|
||||||
|
"game_time": "7:30 PM",
|
||||||
|
"game_date": "Apr 17"
|
||||||
}
|
}
|
||||||
logging.info("[NHL] Initialized NHLUpcomingManager with test game: TBL vs DAL")
|
logging.info("[NHL] Initialized NHLUpcomingManager with test game: TBL vs DAL")
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user