You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After managing to set my schedule up for 2017 games, I'm still having trouble reading 2017 regular season games. Getting the following error, just trying to get basic info that you had from issue #331 :
I updated nflgame and made sure to update the schedule as well as switch it back. Any idea?
Code:
import nflgame
import csv
games = nflgame.games(2017)
print len(games)
Error:
TypeError Traceback (most recent call last)
in ()
2 import csv
3
----> 4 games = nflgame.games(2017)
5 print len(games)
C:\Program Files\Anaconda2\lib\site-packages\nflgame_init_.pyc in games(year, week, home, away, kind, started)
227 (as opposed to waiting for a 404 error from NFL.com).
228 """
--> 229 return list(games_gen(year, week, home, away, kind, started))
230
231
TypeError: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered:
I'm not sure, It was something that ended up happening last year where I had trouble getting individual postseason games and since then I've had some problems, but that seemed to be the solution that worked.
After managing to set my schedule up for 2017 games, I'm still having trouble reading 2017 regular season games. Getting the following error, just trying to get basic info that you had from issue #331 :
I updated nflgame and made sure to update the schedule as well as switch it back. Any idea?
Code:
import nflgame
import csv
games = nflgame.games(2017)
print len(games)
Error:
TypeError Traceback (most recent call last)
in ()
2 import csv
3
----> 4 games = nflgame.games(2017)
5 print len(games)
C:\Program Files\Anaconda2\lib\site-packages\nflgame_init_.pyc in games(year, week, home, away, kind, started)
227 (as opposed to waiting for a 404 error from NFL.com).
228 """
--> 229 return list(games_gen(year, week, home, away, kind, started))
230
231
TypeError: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered: