Skip to content

Commit

Permalink
Fix bug leftover from refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed Aug 13, 2014
1 parent c1bc319 commit 0844e55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nfldb/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2079,13 +2079,15 @@ def _from_nflgame(db, g):
dbg.season_type = Enums._nflgame_season_phase[g.schedule['season_type']]
dbg.finished = g.game_over()
dbg.home_team = nfldb.team.standard_team(g.home)
dbg.home_score = g.score_home
dbg.home_score_q1 = g.score_home_q1
dbg.home_score_q2 = g.score_home_q2
dbg.home_score_q3 = g.score_home_q3
dbg.home_score_q4 = g.score_home_q4
dbg.home_score_q5 = g.score_home_q5
dbg.home_turnovers = int(g.data['home']['to'])
dbg.away_team = nfldb.team.standard_team(g.away)
dbg.away_score = g.score_away
dbg.away_score_q1 = g.score_away_q1
dbg.away_score_q2 = g.score_away_q2
dbg.away_score_q3 = g.score_away_q3
Expand Down

0 comments on commit 0844e55

Please sign in to comment.