allow for score of 0 for team in instagen
merged from remote tracking branch
This commit is contained in:
@@ -107,7 +107,7 @@ def get_matchup_image(request, team_id, event_id, dimensions=None, background=No
|
||||
image = gen_image(
|
||||
**game_info, background=BACKGROUND, width=width, height=height
|
||||
)
|
||||
elif game_info["runs_for"] and game_info["runs_against"]:
|
||||
elif game_info["runs_for"] or game_info["runs_against"]:
|
||||
image = gen_results_image(
|
||||
**game_info, background=BACKGROUND, width=width, height=height
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user