mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 21:03:01 +00:00
Remove NHL-specific logging from display controller
This commit is contained in:
@@ -15,10 +15,6 @@ logging.basicConfig(
|
||||
format='%(levelname)s:%(name)s:%(message)s'
|
||||
)
|
||||
|
||||
# Set NHL logger to INFO level to reduce spam
|
||||
nhl_logger = logging.getLogger('NHL')
|
||||
nhl_logger.setLevel(logging.INFO)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
class DisplayController:
|
||||
@@ -145,13 +141,10 @@ class DisplayController:
|
||||
self.stocks.display_stocks(force_clear=self.force_clear)
|
||||
|
||||
elif self.current_display_mode == 'nhl_live' and self.nhl_live:
|
||||
logger.info("Calling NHLLiveManager.display()")
|
||||
self.nhl_live.display(force_clear=self.force_clear)
|
||||
elif self.current_display_mode == 'nhl_recent' and self.nhl_recent:
|
||||
logger.info("Calling NHLRecentManager.display()")
|
||||
self.nhl_recent.display(force_clear=self.force_clear)
|
||||
elif self.current_display_mode == 'nhl_upcoming' and self.nhl_upcoming:
|
||||
logger.info("Calling NHLUpcomingManager.display()")
|
||||
self.nhl_upcoming.display(force_clear=self.force_clear)
|
||||
|
||||
elif self.current_display_mode == 'stock_news' and self.news:
|
||||
|
||||
Reference in New Issue
Block a user