conorreid / dst_scoring_model

Model for D/ST fantasy football scoring
MIT License
1 stars 0 forks source link

KeyError on ['3'] #24

Open conorreid opened 5 years ago

conorreid commented 5 years ago

Currently (for week 7), it appears Pinnacle hasn't reported data for a certain matchup. This is getting a key error in the get_lines function in get_pinnacle_data and breaks the program. Need to add a try/except that loops for KeyError to tell it to continue without getting tripped up, and perhaps grab data from another line source.