mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 13:23:00 +00:00
centered team logos in odds ticker and removed dynamic display duration
This commit is contained in:
@@ -555,6 +555,12 @@ class BaseSoccerManager:
|
||||
away_team = next(c for c in competitors if c.get("homeAway") == "away")
|
||||
home_record = home_team.get('records', [{}])[0].get('summary', '') if home_team.get('records') else ''
|
||||
away_record = away_team.get('records', [{}])[0].get('summary', '') if away_team.get('records') else ''
|
||||
|
||||
# Don't show "0-0" records - set to blank instead
|
||||
if home_record == "0-0":
|
||||
home_record = ''
|
||||
if away_record == "0-0":
|
||||
away_record = ''
|
||||
|
||||
game_time = ""
|
||||
game_date = ""
|
||||
|
||||
Reference in New Issue
Block a user