Skip to content

Commit a7135b6

Browse files
author
Nick Shorter
committed
added final stuff
1 parent d59474e commit a7135b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

matrix/sport/sportmatrix.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ def build_home_away_image(self, nextgame):
112112

113113
def build_middle_nextgame(self, api) -> Image:
114114
nextgame = self.determine_nextgame(api.next_game)
115-
if "IN" in nextgame['status']:
115+
in_game_status = ("IN", "Q", "OT", "BT", "HT", "P")
116+
if nextgame['status'] in in_game_status:
116117
return self.build_in_game_image(nextgame)
117118
elif "NS" == nextgame['status']:
118119
return self.build_next_game_image(nextgame)

0 commit comments

Comments
 (0)