mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-12 21:43:00 +00:00
adjust indentation issues
This commit is contained in:
@@ -113,7 +113,7 @@ class DisplayController:
|
|||||||
self.soccer_recent = None
|
self.soccer_recent = None
|
||||||
self.soccer_upcoming = None
|
self.soccer_upcoming = None
|
||||||
logger.info("Soccer managers initialized in %.3f seconds", time.time() - soccer_time)
|
logger.info("Soccer managers initialized in %.3f seconds", time.time() - soccer_time)
|
||||||
|
|
||||||
# Track MLB rotation state
|
# Track MLB rotation state
|
||||||
self.mlb_current_team_index = 0
|
self.mlb_current_team_index = 0
|
||||||
self.mlb_showing_recent = True
|
self.mlb_showing_recent = True
|
||||||
@@ -511,7 +511,7 @@ class DisplayController:
|
|||||||
elif self.current_display_mode == 'mlb_upcoming' and self.mlb_upcoming:
|
elif self.current_display_mode == 'mlb_upcoming' and self.mlb_upcoming:
|
||||||
self.mlb_upcoming.display(force_clear=self.force_clear)
|
self.mlb_upcoming.display(force_clear=self.force_clear)
|
||||||
display_updated = True
|
display_updated = True
|
||||||
|
|
||||||
elif self.current_display_mode == 'soccer_recent' and self.soccer_recent:
|
elif self.current_display_mode == 'soccer_recent' and self.soccer_recent:
|
||||||
self.soccer_recent.display(force_clear=self.force_clear)
|
self.soccer_recent.display(force_clear=self.force_clear)
|
||||||
display_updated = True
|
display_updated = True
|
||||||
@@ -526,7 +526,7 @@ class DisplayController:
|
|||||||
elif self.current_display_mode == 'text_display' and self.text_display:
|
elif self.current_display_mode == 'text_display' and self.text_display:
|
||||||
self.text_display.display() # Assumes text handles its own drawing
|
self.text_display.display() # Assumes text handles its own drawing
|
||||||
display_updated = True
|
display_updated = True
|
||||||
|
|
||||||
# Reset force_clear only if a display method was actually called
|
# Reset force_clear only if a display method was actually called
|
||||||
if display_updated:
|
if display_updated:
|
||||||
self.force_clear = False
|
self.force_clear = False
|
||||||
|
|||||||
Reference in New Issue
Block a user