Closed ochawkeye closed 10 years ago
This is in regards to STL @ TB.
Due to weather, the game will be temporarily suspended.
Actually, looks like NFL.com doesn't handle it all that well either as it says the game is in OT (last option in their if/else statement I suppose?)
Blech. I'll get a hack pushed out ASAP. nfldb-update
is broken right now because of this.
@ochawkeye If you do pip install --upgrade nfldb
then I think you'll get a working nfldb-update
. (I bumped the nflgame
version dep in nfldb
, so it should pull in the latest.)
Otherwise, just pip install --upgrade nflgame
manually.
Thanks. Your fix beat the game resuming by about 2 minutes so I didn't get a chance to verify that it did in fact elegantly handle the exception, but I trust you were able to verify?
The "fix" was to remove the assertion and set the quarter to "Pregame" if the given quarter value wasn't recognized.
The right way to fix this is to add another value to the quarter enumeration, but that requires a DB change and I didn't want to do that on a Sunday. :-)
Not sure exactly what game this is referring to as I don't see anything different on NFL.com, but started receiving this error at around 4:04pm CST today: