The script ran fine until the first kickoff of the year, but then it crashed.
INFO (21:57:57): Sleeper FF Scoreboard - v0.0.2 (64x32)
INFO (21:57:57): getting draft
INFO (21:57:59): getting teams
INFO (21:58:01): getting avatars
INFO (21:58:06): render game
INFO (21:58:06): Live State, checking every 1s
Traceback (most recent call last):
File "main.py", line 29, in <module>
MainRenderer(matrix, data).render()
File "/home/pi/fantasy-football-scoreboard/renderer/main.py", line 39, in render
self.__render_game()
File "/home/pi/fantasy-football-scoreboard/renderer/main.py", line 67, in __render_game
self._draw_game()
File "/home/pi/fantasy-football-scoreboard/renderer/main.py", line 181, in _draw_game
if matchup['user_score'] > user_score + 5 or matchup['opp_score'] > opp_score + 5:
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'
I have no players playing until sunday, so I guess Sleeper return null as the matchup['user_score'] value, which probably generates the error.