Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
fixed an indexing bug
  • Loading branch information
Kudzmat authored Nov 30, 2024
1 parent 9246202 commit da8aa9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nba_stats/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ def player_graph(request, player_full_name, player_id, category):
player_headshot = player_page_info[0]
player_awards = player_page_info[1]
player_bio = player_page_info[2]
graph = player_page_info[4]
graph = player_page_info[3]

# Initialize forms
player_form = PlayerSearchForm()
Expand Down

0 comments on commit da8aa9a

Please sign in to comment.