Open ryanlaughlin opened 2 years ago
@ryanlaughlin can you post the script you are running or provide a link to it?
I ran into this same issue trying to get rosters from a fantasy football league. I discovered that the objectpath filter was pulling a {status: False} for each player in addition to a player's status on injury, suspension, etc.
I resolved the issue by redefining the 'it' variable after Lines 71-73 as follows: it = iter([item for item in it if item != {'status': False}])
I ran into this same issue trying to get rosters from a fantasy football league. I discovered that the objectpath filter was pulling a {status: False} for each player in addition to a player's status on injury, suspension, etc.
I resolved the issue by redefining the 'it' variable after Lines 71-73 as follows: it = iter([item for item in it if item != {'status': False}])
Ah, now that I cloned the repo I see this was only a problem in my original installation and has since been resolved. Thanks!
I just ran a script for the first time in six months and I'm getting this error whenever calling roster