mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 21:03:01 +00:00
config manager reductions to reduce overhead
This commit is contained in:
@@ -29,7 +29,8 @@ class BaseMLBManager:
|
||||
def __init__(self, config: Dict[str, Any], display_manager, cache_manager: CacheManager):
|
||||
self.config = config
|
||||
self.display_manager = display_manager
|
||||
self.config_manager = ConfigManager()
|
||||
# Store reference to config instead of creating new ConfigManager
|
||||
self.config_manager = None # Not used in this class
|
||||
self.mlb_config = config.get('mlb', {})
|
||||
self.show_odds = self.mlb_config.get("show_odds", False)
|
||||
self.favorite_teams = self.mlb_config.get('favorite_teams', [])
|
||||
|
||||
Reference in New Issue
Block a user