Compare commits
1 Commits
release_20
...
v2
| Author | SHA1 | Date | |
|---|---|---|---|
|
44c344cd1f
|
@@ -107,7 +107,7 @@ def get_matchup_image(request, team_id, event_id, dimensions=None, background=No
|
|||||||
image = gen_image(
|
image = gen_image(
|
||||||
**game_info, background=BACKGROUND, width=width, height=height
|
**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(
|
image = gen_results_image(
|
||||||
**game_info, background=BACKGROUND, width=width, height=height
|
**game_info, background=BACKGROUND, width=width, height=height
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user