if current_week for db data fetching needed another check for playoffs. Effectively, since we were only getting data not updating/setting it (as would happen in scoring.py), we couldn't have just returned None for a current week. A catch was added.
Additionally, the playoff_week counter used the wrong field (current_week instead of regular_season.number_of_weeks) to generate which playoff week a particular week was.
if current_week
for db data fetching needed another check for playoffs. Effectively, since we were only getting data not updating/setting it (as would happen inscoring.py
), we couldn't have just returnedNone
for a current week. A catch was added.Additionally, the
playoff_week
counter used the wrong field (current_week
instead ofregular_season.number_of_weeks
) to generate which playoff week a particular week was.