Skip to content

Commit c2fff43

Browse files
committed
fix: boxscore_data incorrect batting notes #131
1 parent e86ac3a commit c2fff43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

statsapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ def boxscore_data(gamePk, timecode=None):
679679
battingNotes = [awayBattingNotes, homeBattingNotes]
680680
for i in range(0, len(sides)):
681681
for n in boxData[sides[i]]["note"]:
682-
awayBattingNotes.update(
682+
battingNotes[i].update(
683683
{len(battingNotes[i]): n["label"] + "-" + n["value"]}
684684
)
685685

0 commit comments

Comments
 (0)