From 433b29c184f43e3b683014bbe7ec7482918ca017 Mon Sep 17 00:00:00 2001 From: Justin Hsieh <41461549+justin-hsieh@users.noreply.github.com> Date: Tue, 3 Oct 2023 14:44:08 -0700 Subject: [PATCH] add game_played values --- fantasy_app/functions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fantasy_app/functions.py b/fantasy_app/functions.py index caca7c5..f367ac4 100644 --- a/fantasy_app/functions.py +++ b/fantasy_app/functions.py @@ -130,7 +130,8 @@ def new_dict(position, current_dict, lineup): count += 1 current_dict['player{}'.format(count)] = { 'name': player.name, - 'score': player.points + 'score': player.points, + 'game_played': player.game_played } total_score += player.points current_dict['total_score'] = total_score