mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-12 05:42:59 +00:00
Fix NHL display modes not being cycled through - Add NHL display modes to available_modes list in DisplayController initialization
This commit is contained in:
@@ -53,6 +53,8 @@ class DisplayController:
|
|||||||
if self.weather: self.available_modes.extend(['weather_current', 'weather_hourly', 'weather_daily'])
|
if self.weather: self.available_modes.extend(['weather_current', 'weather_hourly', 'weather_daily'])
|
||||||
if self.stocks: self.available_modes.append('stocks')
|
if self.stocks: self.available_modes.append('stocks')
|
||||||
if self.news: self.available_modes.append('stock_news')
|
if self.news: self.available_modes.append('stock_news')
|
||||||
|
|
||||||
|
# Add NHL display modes if enabled
|
||||||
if nhl_enabled:
|
if nhl_enabled:
|
||||||
if self.nhl_live: self.available_modes.append('nhl_live')
|
if self.nhl_live: self.available_modes.append('nhl_live')
|
||||||
if self.nhl_recent: self.available_modes.append('nhl_recent')
|
if self.nhl_recent: self.available_modes.append('nhl_recent')
|
||||||
|
|||||||
Reference in New Issue
Block a user